Lines Matching refs:_Cp
37 template <class _Cp>
45 template <class _Cp, bool = __has_storage_type<_Cp>::value>
47 using __storage_type = typename _Cp::__storage_type;
48 using __storage_pointer = typename _Cp::__storage_pointer;
53 friend typename _Cp::__self;
55 friend class __bit_const_reference<_Cp>;
56 friend class __bit_iterator<_Cp, false>;
59 using __container = typename _Cp::__self;
93 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, false> operator&() const _…
94 return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(std::__libcpp_ctz(__mask_)));
104 template <class _Cp>
105 class __bit_reference<_Cp, false> {};
107 template <class _Cp>
109 swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT {
115 template <class _Cp, class _Dp>
117 swap(__bit_reference<_Cp> __x, __bit_reference<_Dp> __y) _NOEXCEPT {
123 template <class _Cp>
124 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(__bit_reference<_Cp> __x, bool…
130 template <class _Cp>
131 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(bool& __x, __bit_reference<_Cp…
137 template <class _Cp>
139 using __storage_type = typename _Cp::__storage_type;
140 using __storage_pointer = typename _Cp::__const_storage_pointer;
145 friend typename _Cp::__self;
146 friend class __bit_iterator<_Cp, true>;
149 using __container = typename _Cp::__self;
153 …_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_const_reference(const __bit_reference<_Cp>& __x) _NOEXCEPT
161 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, true> operator&() const _N…
162 return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(std::__libcpp_ctz(__mask_)));
176 template <bool _FillVal, class _Cp>
178 __fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n) {
179 using _It = __bit_iterator<_Cp, false>;
210 template <class _Cp>
212 fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n, bool __value) {
223 template <class _Cp>
225 fill(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __last, bool __value) {
226 std::fill_n(__first, static_cast<typename _Cp::size_type>(__last - __first), __value);
231 template <class _Cp, bool _IsConst>
232 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false> __copy_aligned(
233 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
234 using _In = __bit_iterator<_Cp, _IsConst>;
274 template <class _Cp, bool _IsConst>
275 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false> __copy_unaligned(
276 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
277 using _In = __bit_iterator<_Cp, _IsConst>;
345 template <class _Cp, bool _IsConst>
346 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, false>
347 copy(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
355 template <class _Cp, bool _IsConst>
356 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false> __copy_backward_alig…
357 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
358 using _In = __bit_iterator<_Cp, _IsConst>;
397 template <class _Cp, bool _IsConst>
398 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false> __copy_backward_unal…
399 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
400 using _In = __bit_iterator<_Cp, _IsConst>;
473 template <class _Cp, bool _IsConst>
474 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator<_Cp, false> copy_backward(
475 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
483 template <class _Cp, bool _IsConst>
484 inline _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false>
485 move(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
491 template <class _Cp, bool _IsConst>
492 inline _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false> move_backward(
493 …__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, f…
645 template <class _Cp>
647 using difference_type = typename _Cp::difference_type;
648 using __storage_type = typename _Cp::__storage_type;
649 using __storage_pointer = typename _Cp::__storage_pointer;
650 using iterator = typename _Cp::iterator;
652 static const unsigned __bits_per_word = _Cp::__bits_per_word;
663 for (size_t __i = 0; __i != __bit_array<_Cp>::_Np; ++__i)
676 template <class _Cp>
677 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __bit_iterator<_Cp, false>
678 rotate(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __middle, __bit_iterator<_Cp,…
679 using _I1 = __bit_iterator<_Cp, false>;
687 if (__d1 <= __bit_array<_Cp>::capacity()) {
688 __bit_array<_Cp> __b(__d1);
693 __bit_iterator<_Cp, false> __mp = std::swap_ranges(__first, __middle, __middle);
699 if (__d2 <= __bit_array<_Cp>::capacity()) {
700 __bit_array<_Cp> __b(__d2);
705 __bit_iterator<_Cp, false> __mp = __first + __d2;
717 template <class _Cp, bool _IC1, bool _IC2>
719 …__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _IC2> _…
720 using _It = __bit_iterator<_Cp, _IC1>;
789 template <class _Cp, bool _IC1, bool _IC2>
791 …__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _IC2> _…
792 using _It = __bit_iterator<_Cp, _IC1>;
828 template <class _Cp, bool _IC1, bool _IC2>
830 equal(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _I…
836 template <class _Cp, bool _IsConst, typename _Cp::__storage_type>
839 using difference_type = typename _Cp::difference_type;
843 using reference = __conditional_t<_IsConst, __bit_const_reference<_Cp>, __bit_reference<_Cp> >;
845 using reference = __conditional_t<_IsConst, bool, __bit_reference<_Cp> >;
850 using __storage_type = typename _Cp::__storage_type;
852 … __conditional_t<_IsConst, typename _Cp::__const_storage_pointer, typename _Cp::__storage_pointer>;
854 static const unsigned __bits_per_word = _Cp::__bits_per_word;
873 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator(const __bit_iterator<_Cp, false…
890 return __conditional_t<_IsConst, __bit_const_reference<_Cp>, __bit_reference<_Cp> >(
1003 friend typename _Cp::__self;
1005 friend class __bit_reference<_Cp>;
1006 friend class __bit_const_reference<_Cp>;
1007 friend class __bit_iterator<_Cp, true>;