Home
last modified time | relevance | path

Searched refs:random_access_range (Results 1 – 25 of 26) sorted by relevance

12

/src/contrib/llvm-project/libcxx/include/__ranges/
H A Delements_view.h188 if constexpr (random_access_range<_Base>) {
251 requires random_access_range<_Base>
258 requires random_access_range<_Base>
265 requires random_access_range<_Base>
277 requires random_access_range<_Base>
283 requires random_access_range<_Base>
289 requires random_access_range<_Base>
295 requires random_access_range<_Base>
301 requires random_access_range<_Base> && three_way_comparable<iterator_t<_Base>>
307 requires random_access_range<_Base>
[all …]
H A Dtransform_view.h141 template <random_access_range _View>
250 requires random_access_range<_Base>
257 requires random_access_range<_Base>
265 requires random_access_range<_Base>
277 requires random_access_range<_Base>
283 requires random_access_range<_Base>
289 requires random_access_range<_Base>
295 requires random_access_range<_Base>
301 requires random_access_range<_Base> && three_way_comparable<iterator_t<_Base>>
307 requires random_access_range<_Base>
[all …]
H A Dcommon_view.h62 if constexpr (random_access_range<_View> && sized_range<_View>) in begin()
71 if constexpr (random_access_range<const _View> && sized_range<const _View>) in begin()
78 if constexpr (random_access_range<_View> && sized_range<_View>) in end()
87 if constexpr (random_access_range<const _View> && sized_range<const _View>) in end()
H A Dtake_view.h91 if constexpr (random_access_range<_View>) { in begin()
107 if constexpr (random_access_range<const _View>) { in begin()
123 if constexpr (random_access_range<_View>) { in end()
137 if constexpr (random_access_range<const _View>) { in end()
265 …requires(!__is_empty_view<_RawRange> && random_access_range<_RawRange> && sized_range<_RawRange> &&
285 random_access_range<_RawRange> &&
337 …(__is_iota_specialization<_RawRange> && sized_range<_RawRange> && random_access_range<_RawRange>) …
339 random_access_range<_RawRange>)))
H A Ddrop_view.h66 …static constexpr bool _UseCache = forward_range<_View> && !(random_access_range<_View> && sized_ra…
91 … requires(!(__simple_view<_View> && random_access_range<const _View> && sized_range<const _View>)) in begin()
93 if constexpr (random_access_range<_View> && sized_range<_View>) { in begin()
108 requires random_access_range<const _View> && sized_range<const _View> in begin()
224 …requires(!__is_empty_view<_RawRange> && random_access_range<_RawRange> && sized_range<_RawRange> &&
242 …requires(!__is_empty_view<_RawRange> && random_access_range<_RawRange> && sized_range<_RawRange> &&
297 random_access_range<_RawRange>) ||
299 random_access_range<_RawRange>)))
H A Dconcepts.h112 concept random_access_range = bidirectional_range<_Tp> && random_access_iterator<iterator_t<_Tp>>; variable
115 concept contiguous_range = random_access_range<_Tp> && contiguous_iterator<iterator_t<_Tp>> && requ… in requires()
H A Dview_interface.h153 template <random_access_range _RARange = _Derived>
158 template <random_access_range _RARange = const _Derived>
H A Dzip_view.h59 ((random_access_range<_Ranges> && ...) && (sized_range<_Ranges> && ...));
173 } else if constexpr ((random_access_range<_Views> && ...)) { in requires()
185 } else if constexpr ((random_access_range<const _Views> && ...)) { in requires()
219 concept __zip_all_random_access = (random_access_range<__maybe_const<_Const, _Views>> && ...);
H A Dreverse_view.h49 static constexpr bool _UseCache = !random_access_range<_View> && !common_range<_View>;
/src/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_shuffle.h52 template <random_access_range _Range, class _Gen>
H A Dranges_is_heap.h59 template <random_access_range _Range,
H A Dranges_stable_sort.h61 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_is_heap_until.h59 template <random_access_range _Range,
H A Dranges_sort.h63 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_make_heap.h64 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_pop_heap.h65 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_push_heap.h64 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_sort_heap.h64 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_partial_sort.h61 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_nth_element.h63 template <random_access_range _Range, class _Comp = ranges::less, class _Proj = identity>
H A Dranges_partial_sort_copy.h77 random_access_range _Range2,
/src/contrib/llvm-project/libcxx/include/
H A Dalgorithm345 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
356 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
367 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
378 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
387 template<random_access_range R, class Proj = identity,
395 template<random_access_range R, class Proj = identity,
414 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
424 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
435 template<random_access_range R, class Comp = ranges::less, class Proj = identity>
544 template<input_range R1, random_access_range R2, class Comp = ranges::less,
[all …]
H A Dranges85 concept random_access_range = see below;
H A Ddeque678 if constexpr (ranges::random_access_range<_Range>) {
/src/contrib/llvm-project/libcxx/modules/std/
H A Dranges.inc66 using std::ranges::random_access_range;

12