Home
last modified time | relevance | path

Searched refs:forward_range (Results 1 – 25 of 70) sorted by relevance

123

/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.req/range.refinements/
Dforward_range.compile.pass.cpp21 constexpr bool result = std::ranges::forward_range<test_range<I> >; in check_forward_range()
22 static_assert(std::ranges::forward_range<test_range<I> const> == result); in check_forward_range()
23 static_assert(std::ranges::forward_range<test_non_const_common_range<I> > == result); in check_forward_range()
24 static_assert(std::ranges::forward_range<test_non_const_range<I> > == result); in check_forward_range()
25 static_assert(std::ranges::forward_range<test_common_range<I> > == result); in check_forward_range()
26 static_assert(std::ranges::forward_range<test_common_range<I> const> == result); in check_forward_range()
27 static_assert(!std::ranges::forward_range<test_non_const_common_range<I> const>); in check_forward_range()
28 static_assert(!std::ranges::forward_range<test_non_const_range<I> const>); in check_forward_range()
43 static_assert(!std::ranges::forward_range<Holder<Incomplete>*>);
44 static_assert(!std::ranges::forward_range<Holder<Incomplete>*&>);
[all …]
Dsubsumption.compile.pass.cpp45 template<std::ranges::forward_range>
53 template<std::ranges::forward_range R>
/external/cronet/buildtools/third_party/libc++/trunk/include/__ranges/
Dlazy_split_view.h64 template <input_range _View, forward_range _Pattern>
67 (forward_range<_View> || __tiny_range<_Pattern>)
73 …using _MaybeCurrent = _If<!forward_range<_View>, __non_propagating_cache<iterator_t<_View>>, __emp…
103 if constexpr (forward_range<_View>) { in begin()
112 constexpr auto begin() const requires forward_range<_View> && forward_range<const _View> { in begin()
117 constexpr auto end() requires forward_range<_View> && common_range<_View> { in end()
123 if constexpr (forward_range<_View> && forward_range<const _View> && common_range<const _View>) { in end()
135 template <forward_range _Tp>
151 using _MaybeCurrent = _If<forward_range<_View>, iterator_t<_Base>, __empty_cache>;
157 if constexpr (forward_range<_View>) {
[all …]
Dview_interface.h56 requires forward_range<_D2> in empty()
63 requires forward_range<const _D2> in empty()
103 requires forward_range<_D2> && sized_sentinel_for<sentinel_t<_D2>, iterator_t<_D2>> in size()
111 …requires forward_range<const _D2> && sized_sentinel_for<sentinel_t<const _D2>, iterator_t<const _D… in size()
119 requires forward_range<_D2> in decltype()
129 requires forward_range<const _D2> in decltype()
Dsplit_view.h45 template <forward_range _View, forward_range _Pattern>
81 template <forward_range _Range>
115 template <forward_range _Range>
118 template <forward_range _View, forward_range _Pattern>
173 template <forward_range _View, forward_range _Pattern>
Djoin_view.h54 forward_range<_View> &&
55 forward_range<range_reference_t<_View>>
123 if constexpr (forward_range<_View> &&
125 forward_range<_InnerRange> &&
140 if constexpr (forward_range<const _View> &&
142 forward_range<_ConstInnerRange> &&
245 __ref_is_glvalue && forward_range<_Base> && forward_range<range_reference_t<_Base>>,
310 forward_range<_Base> &&
311 forward_range<range_reference_t<_Base>>
Dfilter_view.h56 static constexpr bool _UseCache = forward_range<_View>;
107 template<forward_range _View>
127 _If<forward_range<_View>, forward_iterator_tag,
165 constexpr __iterator operator++(int) requires forward_range<_View> {
Dconcepts.h110 concept forward_range = input_range<_Tp> && forward_iterator<iterator_t<_Tp>>; variable
113 concept bidirectional_range = forward_range<_Tp> && bidirectional_iterator<iterator_t<_Tp>>;
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.lazy.split/
Dconstraints.compile.pass.cpp27 static_assert( std::ranges::forward_range<ForwardRange>);
39 static_assert( std::ranges::forward_range<View>);
40 static_assert( std::ranges::forward_range<Pattern>);
55 static_assert( std::ranges::forward_range<Pattern>);
89 static_assert( std::ranges::forward_range<Pattern>);
104 static_assert( std::ranges::forward_range<Pattern>);
119 static_assert(!std::ranges::forward_range<Pattern>);
140 static_assert( std::ranges::forward_range<Pattern>);
155 static_assert(!std::ranges::forward_range<View>);
156 static_assert( std::ranges::forward_range<Pattern>);
[all …]
Dbegin.pass.cpp33 static_assert(std::ranges::forward_range<V>); in test()
34 static_assert(std::ranges::forward_range<const V>); in test()
59 static_assert(std::ranges::forward_range<V>); in test()
60 static_assert(std::ranges::forward_range<const V>); in test()
84 static_assert(std::ranges::forward_range<V>); in test()
85 static_assert(!std::ranges::forward_range<const V>); in test()
103 static_assert(std::ranges::forward_range<V>); in test()
104 static_assert(std::ranges::forward_range<const V>); in test()
129 static_assert(!std::ranges::forward_range<V>); in test()
130 static_assert(std::ranges::forward_range<P>); in test()
Dend.pass.cpp60 static_assert(std::ranges::forward_range<V>); in test()
86 static_assert(std::ranges::forward_range<V>); in test()
90 static_assert(std::ranges::forward_range<const V>); in test()
114 static_assert(std::ranges::forward_range<V>); in test()
116 static_assert(std::ranges::forward_range<const V>); in test()
140 static_assert(std::ranges::forward_range<V>); in test()
142 static_assert(std::ranges::forward_range<const V>); in test()
Dtypes.h32 static_assert( std::ranges::forward_range<CopyableView>);
33 static_assert( std::ranges::forward_range<const CopyableView>);
49 static_assert( std::ranges::forward_range<ForwardView>);
50 static_assert( std::ranges::forward_range<const ForwardView>);
75 static_assert( std::ranges::forward_range<ForwardView>);
76 static_assert( std::ranges::forward_range<const ForwardView>);
135 static_assert( std::ranges::forward_range<ForwardOnlyIfNonConstView>);
136 static_assert(!std::ranges::forward_range<const ForwardOnlyIfNonConstView>);
180 static_assert(std::ranges::forward_range<ForwardTinyView>);
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/ranges/range.adaptors/range.lazy.split/
Dno_unique_address.compile.pass.cpp50 static_assert(!std::ranges::forward_range<InputView>);
59 static_assert( std::ranges::forward_range<TinyView>);
79 static_assert( std::ranges::forward_range<EmptyView1>);
88 static_assert( std::ranges::forward_range<EmptyView2>);
104 static_assert(!std::ranges::forward_range<EmptyInputView>);
112 static_assert( std::ranges::forward_range<EmptyTinyView>);
Dtypes.h27 static_assert( std::ranges::forward_range<ForwardView>);
28 static_assert( std::ranges::forward_range<const ForwardView>);
59 static_assert(std::ranges::forward_range<ForwardTinyView>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.join.view/
Dtypes.h203 static_assert(!std::ranges::forward_range<InputCommonInner>);
208 static_assert(!std::ranges::forward_range<InputNonCommonInner>);
212 static_assert(std::ranges::forward_range<ForwardCommonInner>);
217 static_assert(std::ranges::forward_range<ForwardNonCommonInner>);
231 static_assert(!std::ranges::forward_range<SimpleInputCommonOuter<>>);
239 static_assert(!std::ranges::forward_range<NonSimpleInputCommonOuter<>>);
246 static_assert(std::ranges::forward_range<SimpleForwardCommonOuter<>>);
254 static_assert(std::ranges::forward_range<NonSimpleForwardCommonOuter<>>);
261 static_assert(std::ranges::forward_range<SimpleForwardNonCommonOuter<>>);
270 static_assert(std::ranges::forward_range<NonSimpleForwardNonCommonOuter<>>);
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/forwardlist/
Drange_concept_conformance.compile.pass.cpp23 static_assert(std::ranges::forward_range<range>);
32 static_assert(std::ranges::forward_range<range const>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/unord/unord.map/
Drange_concept_conformance.compile.pass.cpp25 static_assert(std::ranges::forward_range<range>);
34 static_assert(std::ranges::forward_range<range const>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/unord/unord.multiset/
Drange_concept_conformance.compile.pass.cpp25 static_assert(std::ranges::forward_range<range>);
34 static_assert(std::ranges::forward_range<range const>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/unord/unord.set/
Drange_concept_conformance.compile.pass.cpp25 static_assert(std::ranges::forward_range<range>);
34 static_assert(std::ranges::forward_range<range const>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/unord/unord.multimap/
Drange_concept_conformance.compile.pass.cpp25 static_assert(std::ranges::forward_range<range>);
34 static_assert(std::ranges::forward_range<range const>);
/external/cronet/buildtools/third_party/libc++/trunk/include/__algorithm/
Dranges_find_end.h62 template <forward_range _Range1,
63 forward_range _Range2,
Dranges_is_permutation.h60 template <forward_range _Range1,
61 forward_range _Range2,
Dranges_search.h87 template <forward_range _Range1,
88 forward_range _Range2,
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dranges79 concept forward_range = see below;
264 template<input_range V, forward_range Pattern>
267 (forward_range<V> || tiny-range<Pattern>)
271 template<forward_range V, forward_range Pattern>
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/
Dctor.parent.pass.cpp23 static_assert( std::ranges::forward_range<SplitViewForward>);

123