mixin alias

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Dec 16 19:17:40 PST 2007


"0ffh" <frank at frankhirsch.youknow.what.todo.net> wrote in message 
news:fk4nmj$7ad$1 at digitalmars.com...

> JB: As y is declared as an int, I don't see why not... otherwise the
> template would only react to int literals but not int veriables, no?
> But I don't use templating that much, and so may overlook something.

Except that template value parameters have to be compile-time constants.. 
unless the compiler's trying to be "smart" here, which I honestly did not 
expect. 




More information about the Digitalmars-d-learn mailing list