<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Failed to inherit variadic template constructor from base's base."
href="http://llvm.org/bugs/show_bug.cgi?id=15755">15755</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Failed to inherit variadic template constructor from base's base.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eric@boostpro.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The following code fails to compile:
{{{
struct S
{
template<class A, class...B>
S(A, B...) {}
};
struct T : S
{
using S::S;
};
struct U : T
{
using T::T;
};
int main()
{
U u{"hello"};
}
}}}
Clang trunk gives:
1> "C:/cygwin/usr/local/bin/clang++.exe" -c -O0 -std=gnu++11 -I../../../..
-I/home/Eric/boost/org/trunk main.cpp -o main.o
1> main.cpp:19:7: error: call to deleted constructor of 'U'
1> U u{"hello"};
1> ^~~~~~~~~~
1> main.cpp:14:14: note: function has been explicitly marked deleted here
1> using T::T;
1> ^
1> 1 error generated.
1> make: *** [main.o] Error 1
The code should compile.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>