[Issue 1661] Not possible to specialize on template with integer parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 20 15:28:49 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1661
------- Comment #2 from bugzilla at digitalmars.com 2008-02-20 17:28 -------
// This doesn't compile
void test_specialize(T : Number!(int N), int N)() {
writefln("Ooh special - NUMBER");
}
That correctly will not compile because Number!(int N) is invalid syntax.
--
More information about the Digitalmars-d-bugs
mailing list