[libcxx-commits] [libcxx] [libc++][modules] Uses _LIBCPP_USING_IF_EXISTS. (PR #90409)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 29 01:04:53 PDT 2024


================
@@ -10,132 +10,132 @@
 export namespace std {
 
   // [atomics.order], order and consistency
-  using std::memory_order;
-  using std::memory_order_acq_rel;
-  using std::memory_order_acquire;
-  using std::memory_order_consume;
-  using std::memory_order_relaxed;
-  using std::memory_order_release;
-  using std::memory_order_seq_cst;
+  using std::memory_order _LIBCPP_USING_IF_EXISTS;
----------------
philnik777 wrote:

We provide (almost?) all of the symbols listed here unconditionally. Why are they marked `_LIBCPP_USING_IF_EXISTS`? These are also not marked in the `std.compat` module.

https://github.com/llvm/llvm-project/pull/90409


More information about the libcxx-commits mailing list