/freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | subrange.h | 74 class _LIBCPP_TEMPLATE_VIS subrange : public view_interface<subrange<_Iter, _Sent, _Kind>> { 90 _LIBCPP_HIDE_FROM_ABI subrange() 94 …_LIBCPP_HIDE_FROM_ABI constexpr subrange(__convertible_to_non_slicing<_Iter> auto __iter, _Sent __… in subrange() function 98 _LIBCPP_HIDE_FROM_ABI constexpr subrange( in subrange() function 107 template <__different_from<subrange> _Range> 110 _LIBCPP_HIDE_FROM_ABI constexpr subrange(_Range&& __range) in subrange() function 112 : subrange(ranges::begin(__range), ranges::end(__range)) {} in subrange() 114 template <__different_from<subrange> _Range> 117 _LIBCPP_HIDE_FROM_ABI constexpr subrange(_Range&& __range) in subrange() function 119 : subrange(__range, ranges::size(__range)) {} in subrange() [all …]
|
H A D | counted.h | 55 noexcept(subrange(__it, __it + __count))) -> decltype(subrange(__it, __it + __count)) { 56 return subrange(__it, __it + __count); 61 noexcept(subrange(counted_iterator(std::move(__it), __count), default_sentinel))) 62 -> decltype(subrange(counted_iterator(std::move(__it), __count), default_sentinel)) { 63 return subrange(counted_iterator(std::move(__it), __count), default_sentinel);
|
H A D | split_view.h | 55 …using _Cache = __non_propagating_cache<subrange<iterator_t<_View>… 67 _LIBCPP_HIDE_FROM_ABI constexpr subrange<iterator_t<_View>> __find_next(iterator_t<_View> __it) { in __find_next() 68 auto [__begin, __end] = ranges::search(subrange(__it, ranges::end(__base_)), __pattern_); in __find_next() 128 _LIBCPP_NO_UNIQUE_ADDRESS subrange<iterator_t<_View>> __next_ = subrange<iterator_t<_View>>(); 136 using value_type = subrange<iterator_t<_View>>; 142 …split_view<_View, _Pattern>& __parent, iterator_t<_View> __current, subrange<iterator_t<_View>> __…
|
H A D | reverse_view.h | 134 …__is_sized_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_iterator<_Iter>, subrange_ki… 141 inline constexpr bool __is_unsized_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_itera… 151 struct __unwrapped_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_iterator<_Iter>, _Kin… 152 using type = subrange<_Iter, _Iter, _Kind>;
|
H A D | drop_view.h | 173 inline constexpr bool __is_passthrough_specialization<subrange<_Iter, _Sent, _Kind>> = 174 !subrange<_Iter, _Sent, _Kind>::_StoreSize; 180 inline constexpr bool __is_subrange_specialization_with_store_size<subrange<_Iter, _Sent, _Kind>> = 181 subrange<_Iter, _Sent, _Kind>::_StoreSize; 202 struct __passthrough_type<subrange<_Iter, _Sent, _Kind>> { 203 using type = subrange<_Iter, _Sent, _Kind>;
|
H A D | take_view.h | 220 inline constexpr bool __is_passthrough_specialization<subrange<_Iter, _Sent, _Kind>> = true; 242 requires requires { typename subrange<_Iter>; } 243 struct __passthrough_type<subrange<_Iter, _Sent, _Kind>> { 244 using type = subrange<_Iter>;
|
H A D | chunk_by_view.h | 88 reverse_view __reversed{subrange{__first, __current}}; in __find_prev() 151 using value_type = subrange<iterator_t<_View>>;
|
H A D | lazy_split_view.h | 217 const auto [__pbegin, __pend] = ranges::subrange{__parent_->__pattern_}; 298 auto [__pcur, __pend] = ranges::subrange{__i_.__parent_->__pattern_};
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | ranges_find_last.h | 40 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter> 43 return subrange<_Iter>(__first, __first); in __find_last_impl() 50 return subrange<_Iter>(std::move(__it), std::move(__last_it)); in __find_last_impl() 54 return subrange<_Iter>(std::move(__first), std::move(__last_it)); in __find_last_impl() 56 return subrange<_Iter>(__last_it, __last_it); in __find_last_impl() 68 return subrange<_Iter>(std::move(__found_it), std::move(__first)); in __find_last_impl() 70 return subrange<_Iter>(__first, __first); in __find_last_impl() 88 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr static subrange<_Iter> 117 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr static subrange<_Iter> 147 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr static subrange<_Iter>
|
H A D | ranges_rotate.h | 21 #include <__ranges/subrange.h> 40 _LIBCPP_HIDE_FROM_ABI constexpr static subrange<_Iter> __rotate_fn_impl(_Iter __first, _Iter __middle, _Sent __last) { in __rotate_fn_impl() 46 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter> operator()(_Iter __first, _Iter __middle, _Sent __last) const {
|
H A D | ranges_partition.h | 26 #include <__ranges/subrange.h> 47 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<__remove_cvref_t<_Iter>> in __partition_fn_impl() 60 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_stable_partition.h | 28 #include <__ranges/subrange.h> 49 _LIBCPP_HIDE_FROM_ABI static subrange<__remove_cvref_t<_Iter>> in __stable_partition_fn_impl() 65 _LIBCPP_HIDE_FROM_ABI subrange<_Iter> operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) const {
|
H A D | ranges_remove_if.h | 40 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter> 62 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_search_n.h | 45 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<_Iter1> __ranges_search_n_impl( in __ranges_search_n_impl() 74 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_search.h | 39 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<_Iter1> __ranges_search_impl( in __ranges_search_impl() 80 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter1> operator()( in operator()
|
H A D | ranges_reverse_copy.h | 21 #include <__ranges/subrange.h> 46 return (*this)(subrange(std::move(__first), std::move(__last)), std::move(__result));
|
H A D | ranges_remove.h | 40 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_unique.h | 50 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_equal_range.h | 49 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
|
H A D | ranges_find_end.h | 48 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter1> operator()( in operator()
|
/freebsd/contrib/llvm-project/libcxx/include/__fwd/ |
H A D | subrange.h | 31 class _LIBCPP_TEMPLATE_VIS subrange; 35 _LIBCPP_HIDE_FROM_ABI constexpr auto get(const subrange<_Iter, _Sent, _Kind>&); 39 _LIBCPP_HIDE_FROM_ABI constexpr auto get(subrange<_Iter, _Sent, _Kind>&&);
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | ranges | 106 // [range.subrange], sub-ranges 111 class subrange; 114 inline constexpr bool enable_borrowed_range<subrange<I, S, K>> = true; 355 struct tuple_size<ranges::subrange<I, S, K>> 359 struct tuple_element<0, ranges::subrange<I, S, K>> { 364 struct tuple_element<1, ranges::subrange<I, S, K>> { 369 struct tuple_element<0, const ranges::subrange<I, S, K>> { 374 struct tuple_element<1, const ranges::subrange<I, S, K>> { 411 # include <__ranges/subrange.h>
|
/freebsd/contrib/llvm-project/libcxx/include/__tuple/ |
H A D | tuple_like.h | 30 inline constexpr bool __is_ranges_subrange_v<ranges::subrange<_Iter, _Sent, _Kind>> = true;
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | ranges.cppm |
|
H A D | ranges.inc | 72 // [range.subrange], sub-ranges 73 using std::ranges::subrange;
|