@@ -731,12 +731,12 @@ move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsCons
731
731
732
732
// swap_ranges
733
733
734
- template <class __C1 , class __C2 >
735
- _LIBCPP_HIDE_FROM_ABI __bit_iterator<__C2 , false >
736
- __swap_ranges_aligned (__bit_iterator<__C1 , false > __first, __bit_iterator<__C1 , false > __last,
737
- __bit_iterator<__C2 , false > __result)
734
+ template <class _Cl , class _Cr >
735
+ _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cr , false >
736
+ __swap_ranges_aligned (__bit_iterator<_Cl , false > __first, __bit_iterator<_Cl , false > __last,
737
+ __bit_iterator<_Cr , false > __result)
738
738
{
739
- typedef __bit_iterator<__C1 , false > _I1;
739
+ typedef __bit_iterator<_Cl , false > _I1;
740
740
typedef typename _I1::difference_type difference_type;
741
741
typedef typename _I1::__storage_type __storage_type;
742
742
const int __bits_per_word = _I1::__bits_per_word;
@@ -781,12 +781,12 @@ __swap_ranges_aligned(__bit_iterator<__C1, false> __first, __bit_iterator<__C1,
781
781
return __result;
782
782
}
783
783
784
- template <class __C1 , class __C2 >
785
- _LIBCPP_HIDE_FROM_ABI __bit_iterator<__C2 , false >
786
- __swap_ranges_unaligned (__bit_iterator<__C1 , false > __first, __bit_iterator<__C1 , false > __last,
787
- __bit_iterator<__C2 , false > __result)
784
+ template <class _Cl , class _Cr >
785
+ _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cr , false >
786
+ __swap_ranges_unaligned (__bit_iterator<_Cl , false > __first, __bit_iterator<_Cl , false > __last,
787
+ __bit_iterator<_Cr , false > __result)
788
788
{
789
- typedef __bit_iterator<__C1 , false > _I1;
789
+ typedef __bit_iterator<_Cl , false > _I1;
790
790
typedef typename _I1::difference_type difference_type;
791
791
typedef typename _I1::__storage_type __storage_type;
792
792
const int __bits_per_word = _I1::__bits_per_word;
@@ -881,11 +881,11 @@ __swap_ranges_unaligned(__bit_iterator<__C1, false> __first, __bit_iterator<__C1
881
881
return __result;
882
882
}
883
883
884
- template <class __C1 , class __C2 >
884
+ template <class _Cl , class _Cr >
885
885
inline _LIBCPP_INLINE_VISIBILITY
886
- __bit_iterator<__C2 , false >
887
- swap_ranges (__bit_iterator<__C1 , false > __first1, __bit_iterator<__C1 , false > __last1,
888
- __bit_iterator<__C2 , false > __first2)
886
+ __bit_iterator<_Cr , false >
887
+ swap_ranges (__bit_iterator<_Cl , false > __first1, __bit_iterator<_Cl , false > __last1,
888
+ __bit_iterator<_Cr , false > __first2)
889
889
{
890
890
if (__first1.__ctz_ == __first2.__ctz_ )
891
891
return _VSTD::__swap_ranges_aligned (__first1, __last1, __first2);
@@ -1314,15 +1314,15 @@ private:
1314
1314
friend __bit_iterator<_Dp, false > copy_backward (__bit_iterator<_Dp, _IC> __first,
1315
1315
__bit_iterator<_Dp, _IC> __last,
1316
1316
__bit_iterator<_Dp, false > __result);
1317
- template <class __C1 , class __C2 >friend __bit_iterator<__C2 , false > __swap_ranges_aligned (__bit_iterator<__C1 , false >,
1318
- __bit_iterator<__C1 , false >,
1319
- __bit_iterator<__C2 , false >);
1320
- template <class __C1 , class __C2 >friend __bit_iterator<__C2 , false > __swap_ranges_unaligned (__bit_iterator<__C1 , false >,
1321
- __bit_iterator<__C1 , false >,
1322
- __bit_iterator<__C2 , false >);
1323
- template <class __C1 , class __C2 >friend __bit_iterator<__C2 , false > swap_ranges (__bit_iterator<__C1 , false >,
1324
- __bit_iterator<__C1 , false >,
1325
- __bit_iterator<__C2 , false >);
1317
+ template <class _Cl , class _Cr >friend __bit_iterator<_Cr , false > __swap_ranges_aligned (__bit_iterator<_Cl , false >,
1318
+ __bit_iterator<_Cl , false >,
1319
+ __bit_iterator<_Cr , false >);
1320
+ template <class _Cl , class _Cr >friend __bit_iterator<_Cr , false > __swap_ranges_unaligned (__bit_iterator<_Cl , false >,
1321
+ __bit_iterator<_Cl , false >,
1322
+ __bit_iterator<_Cr , false >);
1323
+ template <class _Cl , class _Cr >friend __bit_iterator<_Cr , false > swap_ranges (__bit_iterator<_Cl , false >,
1324
+ __bit_iterator<_Cl , false >,
1325
+ __bit_iterator<_Cr , false >);
1326
1326
template <class _Dp >
1327
1327
_LIBCPP_CONSTEXPR_SINCE_CXX20
1328
1328
friend __bit_iterator<_Dp, false > rotate (__bit_iterator<_Dp, false >,
0 commit comments