[libcxx-commits] [libcxx] [libc++] Allows any types of size 4 and 8 to use native platform ulock_wait (Proof of Concept) (PR #161086)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 3 11:32:54 PDT 2025


================
@@ -230,6 +230,8 @@ struct __atomic_ref_base {
 
 template <class _Tp>
 struct __atomic_waitable_traits<__atomic_ref_base<_Tp>> {
+  using __inner_type _LIBCPP_NODEBUG = _Tp;
----------------
ldionne wrote:

Is there a reason why we don't simply use `::value_type` on all of these types?

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


More information about the libcxx-commits mailing list