[libcxx-commits] [libcxx] [libc++] Allows any types of size 4 and 8 to use native platform ulock_wait (Proof of Concept) (PR #161086)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 28 19:17:33 PDT 2025
================
@@ -11,6 +11,10 @@
#include <__atomic/support.h>
#include <__config>
+#include <__type_traits/enable_if.h>
+#include <__type_traits/integral_constant.h>
+#include <__type_traits/is_standard_layout.h>
----------------
frederick-vs-ja wrote:
Use of `is_standard_layout` looks incorrect to me. I guess we want object types without paddings, which is orthogonal to the standard-layout property.
https://github.com/llvm/llvm-project/pull/161086
More information about the libcxx-commits
mailing list