[Issue 1383] Implicit Function Instantiation with typesafe-variadic of delegates doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 11 14:34:03 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1383
------- Comment #1 from wbaxter at gmail.com 2008-03-11 16:34 -------
Actually it's much simpler than all that. IFTI with plain old typesafe
variadic doesn't work.
void foo(T)(T[] x ...) {
}
void main() {
foo(2,7,4);
}
iftivariadic.d(23): template iftivariadic.foo(T) does not match any function
template declaration
iftivariadic.d(23): template iftivariadic.foo(T) cannot deduce template
function from argument types !()(int,int,int)
--
More information about the Digitalmars-d-bugs
mailing list