[libcxx-commits] [libcxx] [libc++] Deprecate and remove `uncaught_exception` (PR #101830)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 5 08:03:33 PDT 2024
================
@@ -47,6 +47,9 @@ Improvements and New Features
- The ``lexicographical_compare`` and ``ranges::lexicographical_compare`` algorithms have been optimized for trivially
equality comparable types, resulting in a performance improvement of up to 40x.
+- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception``
+ available.
----------------
ldionne wrote:
```suggestion
- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception`` available in C++20 and later modes.
```
https://github.com/llvm/llvm-project/pull/101830
More information about the libcxx-commits
mailing list