@@ -187,8 +187,8 @@ protected:
187
187
188
188
typedef __bit_reference<__bitset> reference;
189
189
typedef __bit_const_reference<__bitset> const_reference;
190
- typedef __bit_iterator<__bitset, false > iterator ;
191
- typedef __bit_iterator<__bitset, true > const_iterator ;
190
+ typedef __bit_iterator<__bitset, false > __iterator ;
191
+ typedef __bit_iterator<__bitset, true > __const_iterator ;
192
192
193
193
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bitset () _NOEXCEPT;
194
194
_LIBCPP_HIDE_FROM_ABI explicit _LIBCPP_CONSTEXPR __bitset (unsigned long long __v) _NOEXCEPT;
@@ -199,11 +199,11 @@ protected:
199
199
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref (size_t __pos) const _NOEXCEPT {
200
200
return const_reference (__first_ + __pos / __bits_per_word, __storage_type (1 ) << __pos % __bits_per_word);
201
201
}
202
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 iterator __make_iter (size_t __pos) _NOEXCEPT {
203
- return iterator (__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
202
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __iterator __make_iter (size_t __pos) _NOEXCEPT {
203
+ return __iterator (__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
204
204
}
205
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 const_iterator __make_iter (size_t __pos) const _NOEXCEPT {
206
- return const_iterator (__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
205
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __const_iterator __make_iter (size_t __pos) const _NOEXCEPT {
206
+ return __const_iterator (__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
207
207
}
208
208
209
209
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void operator &=(const __bitset& __v) _NOEXCEPT;
@@ -335,8 +335,8 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void __bitset<_N_words, _Siz
335
335
template <size_t _N_words, size_t _Size>
336
336
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unsigned long
337
337
__bitset<_N_words, _Size>::to_ulong(false_type) const {
338
- const_iterator __e = __make_iter (_Size);
339
- const_iterator __i = std::find (__make_iter (sizeof (unsigned long ) * CHAR_BIT), __e, true );
338
+ __const_iterator __e = __make_iter (_Size);
339
+ __const_iterator __i = std::find (__make_iter (sizeof (unsigned long ) * CHAR_BIT), __e, true );
340
340
if (__i != __e)
341
341
__throw_overflow_error (" bitset to_ulong overflow error" );
342
342
@@ -352,8 +352,8 @@ __bitset<_N_words, _Size>::to_ulong(true_type) const {
352
352
template <size_t _N_words, size_t _Size>
353
353
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unsigned long long
354
354
__bitset<_N_words, _Size>::to_ullong(false_type) const {
355
- const_iterator __e = __make_iter (_Size);
356
- const_iterator __i = std::find (__make_iter (sizeof (unsigned long long ) * CHAR_BIT), __e, true );
355
+ __const_iterator __e = __make_iter (_Size);
356
+ __const_iterator __i = std::find (__make_iter (sizeof (unsigned long long ) * CHAR_BIT), __e, true );
357
357
if (__i != __e)
358
358
__throw_overflow_error (" bitset to_ullong overflow error" );
359
359
@@ -449,8 +449,8 @@ protected:
449
449
450
450
typedef __bit_reference<__bitset> reference;
451
451
typedef __bit_const_reference<__bitset> const_reference;
452
- typedef __bit_iterator<__bitset, false > iterator ;
453
- typedef __bit_iterator<__bitset, true > const_iterator ;
452
+ typedef __bit_iterator<__bitset, false > __iterator ;
453
+ typedef __bit_iterator<__bitset, true > __const_iterator ;
454
454
455
455
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bitset () _NOEXCEPT;
456
456
_LIBCPP_HIDE_FROM_ABI explicit _LIBCPP_CONSTEXPR __bitset (unsigned long long __v) _NOEXCEPT;
@@ -461,11 +461,11 @@ protected:
461
461
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref (size_t __pos) const _NOEXCEPT {
462
462
return const_reference (&__first_, __storage_type (1 ) << __pos);
463
463
}
464
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 iterator __make_iter (size_t __pos) _NOEXCEPT {
465
- return iterator (&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
464
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __iterator __make_iter (size_t __pos) _NOEXCEPT {
465
+ return __iterator (&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
466
466
}
467
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 const_iterator __make_iter (size_t __pos) const _NOEXCEPT {
468
- return const_iterator (&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
467
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __const_iterator __make_iter (size_t __pos) const _NOEXCEPT {
468
+ return __const_iterator (&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
469
469
}
470
470
471
471
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void operator &=(const __bitset& __v) _NOEXCEPT;
@@ -564,8 +564,8 @@ protected:
564
564
565
565
typedef __bit_reference<__bitset> reference;
566
566
typedef __bit_const_reference<__bitset> const_reference;
567
- typedef __bit_iterator<__bitset, false > iterator ;
568
- typedef __bit_iterator<__bitset, true > const_iterator ;
567
+ typedef __bit_iterator<__bitset, false > __iterator ;
568
+ typedef __bit_iterator<__bitset, true > __const_iterator ;
569
569
570
570
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bitset () _NOEXCEPT;
571
571
_LIBCPP_HIDE_FROM_ABI explicit _LIBCPP_CONSTEXPR __bitset (unsigned long long ) _NOEXCEPT;
@@ -576,11 +576,11 @@ protected:
576
576
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref (size_t ) const _NOEXCEPT {
577
577
return const_reference (nullptr , 1 );
578
578
}
579
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 iterator __make_iter (size_t ) _NOEXCEPT {
580
- return iterator (nullptr , 0 );
579
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __iterator __make_iter (size_t ) _NOEXCEPT {
580
+ return __iterator (nullptr , 0 );
581
581
}
582
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 const_iterator __make_iter (size_t ) const _NOEXCEPT {
583
- return const_iterator (nullptr , 0 );
582
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __const_iterator __make_iter (size_t ) const _NOEXCEPT {
583
+ return __const_iterator (nullptr , 0 );
584
584
}
585
585
586
586
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void operator &=(const __bitset&) _NOEXCEPT {}
0 commit comments