[libcxx-commits] [libcxx] [libc++] constexpr atomic and atomic_ref (PR #98765)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 14 00:44:11 PDT 2024


https://github.com/philnik777 commented:

The implementation itself looks pretty good to me. Everything seems fairly straight-forward.

> I'm not sure how is the proper way to make the constexpr support conditional, for now it's allowed in c++26 mode only.

I'm not sure what you mean here with "how to make the constexpr support conditional". Allowing it only for C++26 seems like the right thing to do to me.

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


More information about the libcxx-commits mailing list