<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:seth.cantrell@gmail.com" title="Seth <seth.cantrell@gmail.com>"> <span class="fn">Seth</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Unhelpful error message for trying to use an explicit constructor with uniform initialization"
href="http://llvm.org/bugs/show_bug.cgi?id=12147">bug 12147</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Unhelpful error message for trying to use an explicit constructor with uniform initialization"
href="http://llvm.org/bugs/show_bug.cgi?id=12147#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Unhelpful error message for trying to use an explicit constructor with uniform initialization"
href="http://llvm.org/bugs/show_bug.cgi?id=12147">bug 12147</a>
from <span class="vcard"><a class="email" href="mailto:seth.cantrell@gmail.com" title="Seth <seth.cantrell@gmail.com>"> <span class="fn">Seth</span></a>
</span></b>
<pre>fixed sometime before e103979ceac63c98873f3307ee897eab559356a0, r185264
clang's output is now:
---
main.cpp:1:26: error: chosen constructor is explicit in copy-initialization
std::unique_ptr<int> j = {new int(0)};
^ ~~~~~~~~~~~~
/Users/socantre/Programming/libcxx/include/memory:2552:40: note: constructor
declared here
_LIBCPP_INLINE_VISIBILITY explicit unique_ptr(pointer __p) _NOEXCEPT
^
1 error generated.</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>