Implement a class with mixins

Sean Kelly sean at f4.ca
Mon May 8 09:19:07 PDT 2006


Don Clugston wrote:
> 
> In every case I've seen or dreamt up so far, a template is either 
> intended to be a mixin, or not. Is that your experience too?

Yes.

> I suspect that 'mixin' should be specified in the template declaration, 
> rather than just the instantiation.

Perhaps it should, though I'm hesitant to suggest a special declaration 
syntax unless it offers something over the current approach.


Sean



More information about the Digitalmars-d mailing list