<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - make_optional doesn't accept initializer list and parameter pack"
href="https://bugs.llvm.org/show_bug.cgi?id=32133">32133</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>make_optional doesn't accept initializer list and parameter pack
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hocheung20@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>According to n4618 p. 558
(<a href="http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/n4618.pdf">http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/n4618.pdf</a>):
There will be 3 versions of make_optional, 2 of which are currently
unimplemented by libc++:
Implemented:
template <class T> constexpr optional<decay_t<T>> make_optional(T&& v);
Unimplemented:
template <class T, class...Args> constexpr optional<T> make_optional(Args&&...
args);
template <class T, class U, class... Args> constexpr optional<T>
make_optional(initializer_list<U> il, Args&&... args);</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>