[libcxx-commits] [libcxx] [libc++] Use _BitInt and __builtin_popcountg in bitset::count() (PR #160679)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 25 06:33:36 PDT 2025
================
@@ -21,6 +21,8 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
+static_assert(__is_unsigned_integer_v<unsigned _BitInt(10)>);
----------------
philnik777 wrote:
Oops. No, I was just verifying that we indeed currently don't consider `_BitInt` to be integral.
https://github.com/llvm/llvm-project/pull/160679
More information about the libcxx-commits
mailing list