[libcxx-commits] [libcxx] [libc++] Make `_Atomic(T)` directly use an alias template (PR #168679)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Nov 22 06:40:29 PST 2025


https://github.com/huixie90 commented:

I think I am a bit confused. Currently our `std::atomic` contains a member `_Atomic(_Tp)` . and now i see we have `_Atomic(_Tp)` is an alias to `std::atomic`. How did we manage not to get into an infinite loop?

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


More information about the libcxx-commits mailing list