[LLVMbugs] [Bug 16118] New: can't expand a parameter pack into a list of function types
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 22 23:06:51 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16118
Bug ID: 16118
Summary: can't expand a parameter pack into a list of function
types
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: eric at boostpro.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
See the following:
template<typename ...Ts>
struct list
{};
template<typename ...Ts>
struct S
{
using type1 = void(int...(Ts)); // (1) works
using type2 = list<int...(Ts)>; // (2) fails
};
The line marked (1) works, but the (2) does not. The syntax is a bit weird, but
I think (2) should compile, and the result should be a list of function types.
--
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/20130523/6d02fb7d/attachment.html>
More information about the llvm-bugs
mailing list