Help with template problem

torhu no at spam.invalid
Tue Nov 6 16:53:27 PST 2007


Janice Caron wrote:
> int main()
> {
>     doTest!(1)();
>     doTest!(2)(); // template instance main.doTest!(2) error instantiating
> 
>     auto a = new A!(N)();
>     return 0;
> }

-auto a = new A!(N)();
+auto a = new A!(123)();

Try that. :)



More information about the Digitalmars-d mailing list