http://llvm.org/bugs/show_bug.cgi?id=22088

            Bug ID: 22088
           Summary: Rejected specialization of variadic template template
                    parameter
           Product: clang
           Version: 3.5
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Created attachment 13623
  --> http://llvm.org/bugs/attachment.cgi?id=13623&action=edit
Example of specialization that is erroneously rejected.

I believe that specialization of a variadic template template parameter based
on the number of template arguments is valid (see the attached code sample and
this SO question:
http://stackoverflow.com/questions/9772264/specializing-a-variadic-template-template-parameter-on-the-minimum-number-of-arg).
The sample attached successfully compiles under g++-4.8 but is rejected by
clang++-3.5.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to