Help with template problem

Janice Caron caron800 at googlemail.com
Tue Nov 6 12:33:39 PST 2007


No clues? Why does the second doTest fail, but not the first?

>   doTest!(1)();
>   doTest!(2)(); // template instance main.doTest!(2) error instantiating

And what's with the "this for n needs to be type A"?

Walter? Bug? Or something I'm doing wrong? I've reduced it to a small
code fragment.



More information about the Digitalmars-d mailing list