[libcxx-commits] [libcxx] [libc++] Use _BitInt and __builtin_popcountg in bitset::count() (PR #160679)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 25 06:26:36 PDT 2025


================
@@ -21,6 +21,8 @@ _LIBCPP_PUSH_MACROS
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
+static_assert(__is_unsigned_integer_v<unsigned _BitInt(10)>);
----------------
ldionne wrote:

Is that intended to stay?

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


More information about the libcxx-commits mailing list