[libcxx-commits] [libcxx] [libc++] Recognize _BitInt(N) as signed/unsigned integer type (PR #185027)

Jonathan Wakely via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 29 04:16:35 PDT 2026


jwakely wrote:

`is_integral_v<const int>` is true, but that is not a signed integer type, so should be excluded from `__is_signed_integer_v`. The signed and unsigned integer types do not include cv-qualified versions thereof.

Similarly, `is_integral_v<const char>` is true, but that's absolutely definitely not a signed integer type (`char` is not, and `const char` is definitely not either).

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


More information about the libcxx-commits mailing list