<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - make_optional doesn't accept initializer list and parameter pack"
href="https://bugs.llvm.org/show_bug.cgi?id=32133">bug 32133</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;">Resolution</td>
<td>---
</td>
<td>DUPLICATE
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>eric@efcs.ca
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - make_optional doesn't accept initializer list and parameter pack"
href="https://bugs.llvm.org/show_bug.cgi?id=32133#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - make_optional doesn't accept initializer list and parameter pack"
href="https://bugs.llvm.org/show_bug.cgi?id=32133">bug 32133</a>
from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
<pre>OK, a couple of points:
(1) You're referring to libc++'s <experimental/optional> implementation, not
<optional> which correctly implements all three overloads. You need to specify
this next time. Alternatively supplying a minimal reproducer will speak for
itself.
(2) You reference the C++ standard (n4618), however the C++ standard doesn't
specify <experimental/foo> headers. The library fundamentals TS does.
(3) Libc++'s <experimental/optional> only implements LFTS v1, but the overloads
in question only appear in LFTS v2. Perhaps someday somebody will upgrade the
<experimental/optional> implementation but it's not priority since we have
already shipped <optional>. (Patches welcome!)
Closing this bug as a duplicate of the bug tracking optional's LFTS v2 status.
*** This bug has been marked as a duplicate of <a class="bz_bug_link
bz_status_NEW "
title="NEW - Update <experimental/optional> to implement LFTS v2."
href="show_bug.cgi?id=31071">bug 31071</a> ***</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>