Does D have too many features?

Walter Bright newshound2 at digitalmars.com
Sat Apr 28 13:02:01 PDT 2012


On 4/28/2012 12:36 PM, Andrej Mitrovic wrote:
> Also there's mixin templates. What exactly is the difference between
> mixin templates and regular templates?

A mixin template is instantiated in context of the instantiation point, while a 
regular template is instantiated in the context of the template definition point.

This becomes relevant when looking up symbols that are not defined within the 
template.


More information about the Digitalmars-d mailing list