llvm-capstone/libcxx
Marek Kurdej d2cb198f25 [libc++] Make future_error constructor standard-compliant
This patch removes the non compliant constructor of std::future_error
and adds the standards compliant constructor in C++17 instead.

Note that we can't support the constructor as an extension in all
standard modes because it uses delegating constructors, which require
C++11. We could in theory support the constructor as an extension in
C++11 and C++14 only, however I believe it is acceptable not to do that
since I expect the breakage from this patch will be minimal.

If it turns out that more code than we expect is broken by this, we can
reconsider that decision.

This was found during D99515.

Differential Revision: https://reviews.llvm.org/D99567
Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
2023-10-05 09:11:49 -04:00
..
benchmarks [libc++] Optimize vector push_back to avoid continuous load and store of end pointer 2023-10-02 09:12:37 -04:00
cmake [runtimes] Fix link order of system librarires on Apple platforms (#66940) 2023-09-21 05:10:05 -04:00
docs [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
include [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
lib [libc++] Simplify the implementation of locale::id (#65781) 2023-09-12 19:20:27 -04:00
modules [libc++] Implement ranges::ends_with 2023-09-18 11:56:10 -07:00
src [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
test [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
utils [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
.clang-format [libc++] Make everything in namespace std have default type visibility and hidden visibility and remove _LIBCPP_ENUM_VIS 2023-08-19 15:16:04 -07:00
.clang-tidy [libc++] Fix template parameter naming and enforce it through readability-identifier-naming 2023-07-24 19:54:12 -07:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml Remove lit's --summary flag from buildbots. 2023-08-31 14:23:51 -04:00
CMakeLists.txt [runtimes] Fix link order of system librarires on Apple platforms (#66940) 2023-09-21 05:10:05 -04:00
CREDITS.TXT [libcxx] Add mdspan/extents 2023-05-16 14:30:36 -07:00
LICENSE.TXT
TODO.TXT