[LLVMbugs] [Bug 22088] New: Rejected specialization of variadic template template parameter
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Jan 3 15:39:29 PST 2015
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: unassignedclangbugs at nondot.org
Reporter: _ at adityaramesh.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150103/6fb1db6a/attachment.html>
More information about the llvm-bugs
mailing list