Nobody understands templates?

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Tue Mar 4 11:23:49 PST 2014


On Sunday, 2 March 2014 at 11:47:39 UTC, Steve Teale wrote:
> I just discovered by trial and error that I could use 'mixin' 
> in Templates (as opposed to Template Mixins), and when you know 
> that it seems likely that you can accomplish lots of stuff you 
> couldn't before.

This was asked about recently.

    mixin template ...

This is the correct way to declare a template to use in mixins, 
several of us are surprised that you can still mixin a template 
which wasn't declared in this manner. I've created a bug so an 
official statement can be made on it:

https://d.puremagic.com/issues/show_bug.cgi?id=12298


More information about the Digitalmars-d-learn mailing list