[libcxx-commits] [libcxx] [libc++] Deprecate the C++20 synchronization library before C++20 (PR #86410)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 25 10:47:28 PDT 2024
================
@@ -55,6 +55,10 @@ Improvements and New Features
Deprecations and Removals
-------------------------
+- The C++20 synchronization library (``<barrier>``, ``<latch>``, ``atomic::wait``, etc.) has been deprecated
+ in language modes prior to C++20. If you are using these features prior to C++20, please update to ``-std=c++20``.
+ In LLVM 20, the C++20 synchronization library will be removed entirely in language modes prior to C++20.
----------------
mordante wrote:
Don't we typically deprecate for 2 releases?
https://github.com/llvm/llvm-project/pull/86410
More information about the libcxx-commits
mailing list