Template mixin identifier as template alias parameter

David Nadlinger see at klickverbot.at
Sun Nov 11 07:35:41 PST 2012


On Sunday, 11 November 2012 at 10:36:42 UTC, Jacob Carlborg wrote:
> This won't work. The "node" template doesn't evaluate to a type 
> and you wouldn't use it as a mixin if it did.

You _can_ actually use an identifier for mixin templates, it is 
used to disambiguate in case of name collisions.

As far as the original question goes, I don't see a reason why 
this shouldn't work; you might want to add a bug report at 
http://d.puremagic.com/issues.

David


More information about the Digitalmars-d-learn mailing list