template Foo(T, Args...)
{
void bar(Args args, T t)
{
}
}
void main()
{
alias Foo!(int) aFoo;
}
Error: error: forward reference of T
Compiles with one more type added to Foo's parameters:
alias Foo!(int, int) aFoo; // ok
Comment #1 by onlystupidspamhere — 2007-06-26T14:15:16Z