Mixin Templates Over-restricted?

John Colvin john.loughran.colvin at gmail.com
Sat May 25 11:47:19 PDT 2013


On Saturday, 25 May 2013 at 18:28:09 UTC, Diggory wrote:
> D has to know the context for a template mixing at the point 
> where it is declared rather than where it is used.

Quite the opposite in fact. Templates exist in the context that 
they are defined in, mixin templates in the context where they 
are instantiated.


More information about the Digitalmars-d-learn mailing list