[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 14 07:30:05 PDT 2009


--- Comment #8 from Don <clugdbug at yahoo.com.au>  2009-08-14 07:30:04 PDT ---
Actually I'm not sure if this a bug or an easter egg. The current behaviour of
template value parameters is: if it is a compile-time constant, instantiate the
template as a value. If it is a variable, instantiate it as an alias parameter.

That's actually quite cool.

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

More information about the Digitalmars-d-bugs mailing list