CRTP in D?

Saaa empty at needmail.com
Wed Aug 19 14:59:51 PDT 2009


> Mixins can be used to do a lot (most? all?) of things CRTP is used for:
>
> class Class(alias MixMe)
> {
>   mixin MixMe impl;
>   ...
>   void doSomething {
>         impl.doIt();
>   }
> }
>

where can I read about class parameters? 




More information about the Digitalmars-d-learn mailing list