Why not mixin "int a;" ??

Tomasz Sowiñski tomeksowi at gmail.com
Sun Aug 24 06:27:40 PDT 2008


I can mixin templates without parens, like this:
mixin foo!(int);

So why can't I do this:
mixin "int a;";
instead of this:
mixin("int a;");
?

Seems a bit inconsistent to me, but maybe I don't see the reason...

Tomek


More information about the Digitalmars-d-learn mailing list