[Issue 1456] Cannot use a constant with alias template parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 13 05:22:24 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1456
------- Comment #1 from clugdbug at yahoo.com.au 2007-09-13 07:22 -------
I don't think this is a bug. In the second case, the value of i is not known
until runtime. It's really just a variable. But the first case is identical to
alias Foo!(20) foo;
which shouldn't compile.
--
More information about the Digitalmars-d-bugs
mailing list