Summary: Applying a template to a variadic template parameter
                    in a templated function's parameter list breaks
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Simen Kjaeraas <> 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
Error: template instance errors instantiating template

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to