Comment #0 by kamm-removethis — 2006-12-27T15:06:10Z
The spec does not seem to require that tuple parameters are the last parameter in the list, but this doesn't work:
void foo(U...)(int t, U u) { }
void bar(U...)(U u, int t) { }
void main()
{
foo(1, 2, 3); // Ok, IFTI works
bar(1, 2, 3); // error: cannot deduce template function from argument types (int,int,int)
bar!(int, int)(1, 2, 3); // Ok.
}
Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords.