https://bugs.llvm.org/show_bug.cgi?id=39265
Bug ID: 39265
Summary: LLVM 7 is missing C++14 experimental features
Product: libc++
Version: 7.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Trying to use C++14 experimental features now fails with the following message:
> error "<experimental/[file]> has been removed. Use <[file]> instead.
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.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs