Default Implementation For an Interface

Jacob Carlborg doob at me.com
Thu Feb 16 13:56:35 PST 2012


On 2012-02-16 22:08, Jonathan M Davis wrote:
> On Thursday, February 16, 2012 20:17:22 Jacob Carlborg wrote:
>> Note that I'm saying "overload" not "override".
>
> Ah, so you did. Yes, that would probably be a problem, though aliases can
> probably fix it (that's how you deal with having all of the overloads for a
> function in the same overload set for a derived class when you only override
> some of them). But I haven't tried it, so I don't know.
>
> - Jonathan M Davis

I know it works with derived classes but I haven't tried it with 
template mixins.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list