http://d.puremagic.com/issues/show_bug.cgi?id=4311
Summary: Applying a template to a variadic template parameter in a templated function's parameter list breaks compilation Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: simen.kja...@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2010-06-14 06:39:51 PDT --- Test case: template foo( T... ) { alias T[0] foo; // Does not matter what is in here } auto bar( T... )( foo!T arg ) { } bar!( int, float )( 2 ); Error: template bar(T...) does not match any function template declaration Error: template bar(T...) cannot deduce template function from argument types !(1,2)() Error: template instance errors instantiating template -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------