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

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 17 08:45:55 PDT 2026


================

----------------
philnik777 wrote:

Could we make an `__is_character_v` instead and say `!is_same<_Tp, bool>` below? This feels currently rather arbitrary. I think it would also make sense to add a `template <class _Tp, class... _Options> inline const bool __is_any_of_v = (__is_same(_Tp, _Options) || ...);` to `is_same.h`. That is probably faster to compile (I haven't checked) and is a lot nicer to read than the specializations here. As a cleanup it would also be nice to replace other such lists in the library, but not a requirement if you don't feel like it.

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


More information about the libcxx-commits mailing list