Virtual templates members

Dicebot public at dicebot.lv
Thu Aug 8 11:08:17 PDT 2013


Actually "mixin New!()" should be enough, as typeof(this) 
resolves to enclosing type in template mixins.

And inheritance brings nothing over mixins in terms of guarantees 
- forgetting to use proper Base or use proper method is almost 
the same level of accident.


More information about the Digitalmars-d-learn mailing list