[LLVMbugs] [Bug 11723] New: Clang doesn't substitute into template parameter list of type template parameter pack if the pack is unused
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Jan 7 18:29:21 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11723
Bug #: 11723
Summary: Clang doesn't substitute into template parameter list
of type template parameter pack if the pack is unused
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
This code should not be accepted, but clang (and GCC) accept it
struct A {
template<
typename ...T,
template<typename std::enable_if<
std::is_same<T, int>::value, int
>::type ...
> class...
>
A(T...);
};
A a(1, 2.0, 3);
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list