@@ -223,10 +223,10 @@ protected:
223
223
224
224
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void flip () _NOEXCEPT;
225
225
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unsigned long to_ulong () const {
226
- return __to_ulong (_BoolConstant < _Size< sizeof (unsigned long ) * CHAR_BIT>());
226
+ return __to_ulong (_BoolConstant< _Size < sizeof (unsigned long ) * CHAR_BIT>());
227
227
}
228
228
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unsigned long long to_ullong () const {
229
- return __to_ullong (_BoolConstant < _Size< sizeof (unsigned long long ) * CHAR_BIT>());
229
+ return __to_ullong (_BoolConstant< _Size < sizeof (unsigned long long ) * CHAR_BIT>());
230
230
}
231
231
232
232
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 bool all () const _NOEXCEPT { return !__scan_bits (__bit_not ()); }
@@ -321,11 +321,11 @@ inline _LIBCPP_HIDE_FROM_ABI void __bitset<_N_words, _Size>::__init(unsigned lon
321
321
template <size_t _N_words, size_t _Size>
322
322
inline _LIBCPP_CONSTEXPR __bitset<_N_words, _Size>::__bitset(unsigned long long __v) _NOEXCEPT
323
323
# ifndef _LIBCPP_CXX03_LANG
324
- # if ( __SIZEOF_LONG_LONG__ + __SIZEOF_SIZE_T__ - 1) / __SIZEOF_SIZE_T__ == 1
324
+ # if __SIZEOF_LONG_LONG__ <= __SIZEOF_SIZE_T__
325
325
: __first_{static_cast <__storage_type>(__v)}
326
- # elif ( __SIZEOF_LONG_LONG__ + __SIZEOF_SIZE_T__ - 1) / __SIZEOF_SIZE_T__ == 2
326
+ # elif __SIZEOF_LONG_LONG__ <= 2 * __SIZEOF_SIZE_T__
327
327
: __first_{static_cast <__storage_type>(__v), static_cast <__storage_type>(__v >> __bits_per_word)}
328
- # elif ( __SIZEOF_LONG_LONG__ + __SIZEOF_SIZE_T__ - 1) / __SIZEOF_SIZE_T__ == 4
328
+ # elif __SIZEOF_LONG_LONG__ <= 4 * __SIZEOF_SIZE_T__
329
329
# if _N_words == 2
330
330
: __first_{static_cast <__storage_type>(__v), static_cast <__storage_type>(__v >> __bits_per_word)}
331
331
# elif _N_words == 3
0 commit comments