[libcxx-commits] [libcxx] [libcxx][P1831R1] Deprecating volatile: library (PR #101439)
Josh Karns via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 5 12:12:41 PDT 2024
================
@@ -266,14 +293,15 @@ _LIBCPP_HIDE_FROM_ABI bool atomic_is_lock_free(const atomic<_Tp>* __o) _NOEXCEPT
// atomic_init
template <class _Tp>
-_LIBCPP_DEPRECATED_IN_CXX20 _LIBCPP_HIDE_FROM_ABI void
-atomic_init(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
+_LIBCPP_HIDE_FROM_ABI void atomic_init(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT
----------------
jkarns275 wrote:
Re-added
https://github.com/llvm/llvm-project/pull/101439
More information about the libcxx-commits
mailing list