[libcxx-commits] [libcxx] [libc++] Enable C++ stdatomic.h for all C++ versions (PR #95498)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 14 05:58:41 PDT 2024
================
@@ -589,10 +589,6 @@ template <class T>
#include <__config>
-#if _LIBCPP_STD_VER < 23 && defined(_LIBCPP_STDATOMIC_H)
-# error <atomic> is incompatible with <stdatomic.h> before C++23. Please compile with -std=c++23.
----------------
ldionne wrote:
Why do we claim that `<atomic>` is incompatible with `<stdatomic.h>` before C++23? Can you refresh my memory? In other words, what changed in C++23 that made the header compatible?
https://github.com/llvm/llvm-project/pull/95498
More information about the libcxx-commits
mailing list