<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 - LLVM 7 is missing C++14 experimental features"
href="https://bugs.llvm.org/show_bug.cgi?id=39265">39265</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM 7 is missing C++14 experimental features
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</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>idart@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Trying to use C++14 experimental features now fails with the following message:
<span class="quote">> error "<experimental/[file]> has been removed. Use <[file]> instead.</span >
This error message is printed by the following files:
- <experimental/any>
- <experimental/chrono>
- <experimental/numeric>
- <experimental/optional>
- <experimental/ratio>
- <experimental/string_view>
- <experimental/system_error>
- <experimental/tuple>
I am (was) using <experimental/optional> and <experimental/string_view> in
C++14 code. Which worked (more or less fine) with LLVM 3.8 - 6.0.1, but is now
broken.
Replacing <experimental/optional> with <optional> doesn't work because it only
provides 'std::optional' in C++17 mode, not 'std::experimental::optional' in
C++14 mode - i.e. it's not just a matter of changing include files.
In essence, C++14 experimental features have been removed, which breaks
existing code. Please put them back.</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>