File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
2424
2525template <class _Tp >
2626_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 int __countl_zero (_Tp __t ) _NOEXCEPT {
27- static_assert (__is_unsigned_integer_v<_Tp>, " __countl_zero requires an unsigned integer type" );
2827 return __builtin_clzg (__t , numeric_limits<_Tp>::digits);
2928}
3029
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
2424
2525template <class _Tp >
2626[[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR int __countr_zero (_Tp __t ) _NOEXCEPT {
27- static_assert (__is_unsigned_integer_v<_Tp>, " __countr_zero only works with unsigned types" );
2827 return __builtin_ctzg (__t , numeric_limits<_Tp>::digits);
2928}
3029
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
2323
2424template <class _Tp >
2525[[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR int __popcount (_Tp __t ) _NOEXCEPT {
26- static_assert (__is_unsigned_integer_v<_Tp>, " __popcount only works with unsigned types" );
2726 return __builtin_popcountg (__t );
2827}
2928
You can’t perform that action at this time.
0 commit comments