Home
last modified time | relevance | path

Searched refs:forward_iterator (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
H A Dis_permutation.pass.cpp44 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
45 forward_iterator<const int*>(ia + 0), in main()
46 forward_iterator<const int*>(ib)) == true); in main()
48 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
49 forward_iterator<const int*>(ia + 0), in main()
50 forward_iterator<const int*>(ib), in main()
51 forward_iterator<const int*>(ib + 0)) == true); in main()
53 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
54 forward_iterator<const int*>(ia + sa), in main()
55 forward_iterator<const int*>(ib)) == true); in main()
[all …]
H A Dis_permutation_pred.pass.cpp64 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
65 forward_iterator<const int*>(ia + 0), in main()
66 forward_iterator<const int*>(ib), in main()
68 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
69 forward_iterator<const int*>(ia + sa), in main()
70 forward_iterator<const int*>(ib), in main()
73 assert(std::is_permutation(forward_iterator<const int*>(ia), in main()
74 forward_iterator<const int*>(ia + sa), in main()
75 forward_iterator<const int*>(ib), in main()
76 forward_iterator<cons in main()
[all...]
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dbinary_transform.pass.cpp63 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, forward_iterator<int*> >(… in main()
68 …test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, cpp17_output_iterator<int*> >… in main()
69 …test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, cpp17_input_iterator<int*> >(… in main()
70 test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, forward_iterator<int*> >(); in main()
71 …test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, bidirectional_iterator<int*> … in main()
72 …test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, random_access_iterator<int*> … in main()
73 test<cpp17_input_iterator<const int*>, forward_iterator<const int*>, int*>(); in main()
77 …test<cpp17_input_iterator<const int*>, bidirectional_iterator<const int*>, forward_iterator<int*> … in main()
84 …test<cpp17_input_iterator<const int*>, random_access_iterator<const int*>, forward_iterator<int*> … in main()
91 test<cpp17_input_iterator<const int*>, const int*, forward_iterator<int*> >(); in main()
[all …]
H A Dunary_transform.pass.cpp64 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in main()
69 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in main()
70 test<forward_iterator<const int*>, cpp17_input_iterator<int*> >(); in main()
71 test<forward_iterator<const int*>, forward_iterator<int*> >(); in main()
72 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in main()
73 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in main()
74 test<forward_iterator<const int*>, int*>(); in main()
78 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in main()
85 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in main()
92 test<const int*, forward_iterator<int*> >(); in main()
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dpartition_point.pass.cpp42 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main()
43 forward_iterator<const int*>(std::end(ia)), in main()
44 is_odd()) == forward_iterator<const int*>(ia)); in main()
48 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main()
49 forward_iterator<const int*>(std::end(ia)), in main()
50 is_odd()) == forward_iterator<const int*>(ia + 1)); in main()
54 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main()
55 forward_iterator<const int*>(std::end(ia)), in main()
56 is_odd()) == forward_iterator<const int*>(ia + 2)); in main()
60 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main()
[all …]
/llvm-project/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/
H A Dforward_iterator.compile.pass.cpp19 static_assert(!std::forward_iterator<cpp17_input_iterator<int*> >);
20 static_assert(!std::forward_iterator<cpp20_input_iterator<int*> >);
21 static_assert(std::forward_iterator<forward_iterator<int*> >);
22 static_assert(std::forward_iterator<bidirectional_iterator<int*> >);
23 static_assert(std::forward_iterator<random_access_iterator<int*> >);
24 static_assert(std::forward_iterator<contiguous_iterator<int*> >);
26 static_assert(std::forward_iterator<int*>);
27 static_assert(std::forward_iterator<int const*>);
28 static_assert(std::forward_iterator<int volatile*>);
29 static_assert(std::forward_iterator<int const volatile*>);
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/
H A Dswap_ranges.pass.cpp126 test<forward_iterator<int*>, forward_iterator<int*> >(); in main()
127 test<forward_iterator<int*>, bidirectional_iterator<int*> >(); in main()
128 test<forward_iterator<int*>, random_access_iterator<int*> >(); in main()
129 test<forward_iterator<int*>, int*>(); in main()
131 test<bidirectional_iterator<int*>, forward_iterator<int*> >(); in main()
136 test<random_access_iterator<int*>, forward_iterator<int*> >(); in main()
141 test<int*, forward_iterator<int*> >(); in main()
147 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main()
148 … test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main()
149 … test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/
H A Dcopy_if.pass.cpp49 test_copy_if<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in test()
54 test_copy_if<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in test()
55 test_copy_if<forward_iterator<const int*>, cpp17_input_iterator<int*> >(); in test()
56 test_copy_if<forward_iterator<const int*>, forward_iterator<int*> >(); in test()
57 test_copy_if<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in test()
58 test_copy_if<forward_iterator<const int*>, random_access_iterator<int*> >(); in test()
59 test_copy_if<forward_iterator<const int*>, int*>(); in test()
63 test_copy_if<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in test()
70 test_copy_if<random_access_iterator<const int*>, forward_iterator<int*> >(); in test()
77 test_copy_if<const int*, forward_iterator<int*> >(); in test()
H A Dcopy_n.pass.cpp78 test_copy_n<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in test()
83 test_copy_n<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in test()
84 test_copy_n<forward_iterator<const int*>, cpp17_input_iterator<int*> >(); in test()
85 test_copy_n<forward_iterator<const int*>, forward_iterator<int*> >(); in test()
86 test_copy_n<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in test()
87 test_copy_n<forward_iterator<const int*>, random_access_iterator<int*> >(); in test()
88 test_copy_n<forward_iterator<const int*>, int*>(); in test()
92 test_copy_n<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in test()
99 test_copy_n<random_access_iterator<const int*>, forward_iterator<int*> >(); in test()
106 test_copy_n<const int*, forward_iterator<int*> >(); in test()
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.lazy.split/
H A Dtypes.h28 …constexpr forward_iterator<std::string_view::const_iterator> begin() const { return forward_iterat… in begin()
29 …constexpr forward_iterator<std::string_view::const_iterator> end() const { return forward_iterator in end()
46 …constexpr forward_iterator<std::string_view::const_iterator> begin() const { return forward_iterat… in begin()
47 …constexpr forward_iterator<std::string_view::const_iterator> end() const { return forward_iterator in end()
70 constexpr forward_iterator<char*> begin() { return forward_iterator<char*>(buffer_.data()); } in begin()
71 …constexpr forward_iterator<char*> end() { return forward_iterator<char*>(buffer_.data() + buffer_… in end()
72 …constexpr forward_iterator<const char*> begin() const { return forward_iterator<const char*>(buffe… in begin()
73 …constexpr forward_iterator<const char*> end() const { return forward_iterator<const char*>(buffer_… in end()
114 static_assert(!std::forward_iterator<almost_forward_iterator<int*>>);
126 …constexpr forward_iterator<std::string_view::const_iterator> begin() { return forward_iterator<std… in begin()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/
H A Dadjacent_find.pass.cpp37 assert(std::adjacent_find(forward_iterator<const int*>(ia), in main()
38 forward_iterator<const int*>(ia + sa)) == in main()
39 forward_iterator<const int*>(ia+2)); in main()
40 assert(std::adjacent_find(forward_iterator<const int*>(ia), in main()
41 forward_iterator<const int*>(ia)) == in main()
42 forward_iterator<const int*>(ia)); in main()
43 assert(std::adjacent_find(forward_iterator<const int*>(ia+3), in main()
44 forward_iterator<const int*>(ia + sa)) == in main()
45 forward_iterator<const int*>(ia+sa)); in main()
H A Dadjacent_find_pred.pass.cpp41 assert(std::adjacent_find(forward_iterator<const int*>(ia), in main()
42 forward_iterator<const int*>(ia + sa), in main()
44 forward_iterator<const int*>(ia+2)); in main()
45 assert(std::adjacent_find(forward_iterator<const int*>(ia), in main()
46 forward_iterator<const int*>(ia), in main()
48 forward_iterator<const int*>(ia)); in main()
49 assert(std::adjacent_find(forward_iterator<const int*>(ia+3), in main()
50 forward_iterator<const int*>(ia + sa), in main()
52 forward_iterator<const int*>(ia+sa)); in main()
/llvm-project/libcxx/test/std/numerics/numeric.ops/partial.sum/
H A Dpartial_sum.pass.cpp44 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in test()
49 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in test()
50 test<forward_iterator<const int*>, forward_iterator<int*> >(); in test()
51 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in test()
52 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in test()
53 test<forward_iterator<const int*>, int*>(); in test()
56 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in test()
62 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in test()
68 test<const int*, forward_iterator<int*> >(); in test()
H A Dpartial_sum_op.pass.cpp94 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in test()
99 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in test()
100 test<forward_iterator<const int*>, forward_iterator<int*> >(); in test()
101 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in test()
102 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in test()
103 test<forward_iterator<const int*>, int*>(); in test()
106 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in test()
112 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in test()
118 test<const int*, forward_iterator<int*> >(); in test()
/llvm-project/libcxx/test/std/ranges/range.utility/range.subrange/
H A Dgeneral.compile.pass.cpp25 static_assert( ValidSubrange<forward_iterator<int*>>);
26 static_assert( ValidSubrange<forward_iterator<int*>, forward_iterator<int*>>);
27 … ValidSubrangeKind<std::ranges::subrange_kind::unsized, forward_iterator<int*>, forward_iterator<i…
28 …t( ValidSubrangeKind<std::ranges::subrange_kind::sized, forward_iterator<int*>, forward_iterator<i…
30 static_assert(!ValidSubrange<forward_iterator<int*>, int*>);
37 static_assert(!ValidSubrange<int*, forward_iterator<int*>>);
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dreplace_copy.pass.cpp60 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in main()
65 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in main()
66 test<forward_iterator<const int*>, forward_iterator<int*> >(); in main()
67 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in main()
68 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in main()
69 test<forward_iterator<const int*>, int*>(); in main()
72 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in main()
78 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in main()
84 test<const int*, forward_iterator<int*> >(); in main()
H A Dreplace_copy_if.pass.cpp64 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in main()
69 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in main()
70 test<forward_iterator<const int*>, forward_iterator<int*> >(); in main()
71 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in main()
72 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in main()
73 test<forward_iterator<const int*>, int*>(); in main()
76 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in main()
82 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in main()
88 test<const int*, forward_iterator<int*> >(); in main()
/llvm-project/libcxx/test/std/iterators/predef.iterators/counted.iterator/
H A Dctor.conv.pass.cpp50 static_assert( std::is_constructible_v<std::counted_iterator<forward_iterator<int*>>, in test()
51 std::counted_iterator<forward_iterator<int*>>>); in test()
52 static_assert(!std::is_constructible_v<std::counted_iterator<forward_iterator<int*>>, in test()
56 std::counted_iterator iter1(ConvertibleTo<forward_iterator<int*>>{buffer}, 8); in test()
57 std::counted_iterator<forward_iterator<int*>> iter2(iter1); in test()
58 assert(iter2.base() == forward_iterator<int*>{buffer}); in test()
62 const std::counted_iterator iter1(ConvertibleTo<forward_iterator<int*>>{buffer}, 8); in test()
63 const std::counted_iterator<forward_iterator<int*>> iter2(iter1); in test()
64 assert(iter2.base() == forward_iterator<int*>{buffer}); in test()
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
H A Dremove_copy.pass.cpp56 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in main()
61 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in main()
62 test<forward_iterator<const int*>, forward_iterator<int*> >(); in main()
63 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in main()
64 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in main()
65 test<forward_iterator<const int*>, int*>(); in main()
68 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in main()
74 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in main()
80 test<const int*, forward_iterator<int*> >(); in main()
H A Dremove_copy_if.pass.cpp61 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in main()
66 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in main()
67 test<forward_iterator<const int*>, forward_iterator<int*> >(); in main()
68 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in main()
69 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in main()
70 test<forward_iterator<const int*>, int*>(); in main()
73 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in main()
79 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in main()
85 test<const int*, forward_iterator<int*> >(); in main()
/llvm-project/libcxx/test/std/numerics/numeric.ops/inner.product/
H A Dinner_product.pass.cpp56 test<cpp17_input_iterator<const int*>, forward_iterator<const int*> >(); in test()
61 test<forward_iterator<const int*>, cpp17_input_iterator<const int*> >(); in test()
62 test<forward_iterator<const int*>, forward_iterator<const int*> >(); in test()
63 test<forward_iterator<const int*>, bidirectional_iterator<const int*> >(); in test()
64 test<forward_iterator<const int*>, random_access_iterator<const int*> >(); in test()
65 test<forward_iterator<const int*>, const int*>(); in test()
68 test<bidirectional_iterator<const int*>, forward_iterator<const int*> >(); in test()
74 test<random_access_iterator<const int*>, forward_iterator<const int*> >(); in test()
80 test<const int*, forward_iterator<const int*> >(); in test()
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/
H A Dlexicographical_compare.pass.cpp
H A Dlexicographical_compare_comp.pass.cpp57 test<cpp17_input_iterator<const int*>, forward_iterator<const int*> >(); in main()
62 test<forward_iterator<const int*>, cpp17_input_iterator<const int*> >(); in main()
63 test<forward_iterator<const int*>, forward_iterator<const int*> >(); in main()
64 test<forward_iterator<const int*>, bidirectional_iterator<const int*> >(); in main()
65 test<forward_iterator<const int*>, random_access_iterator<const int*> >(); in main()
66 test<forward_iterator<const int*>, const int*>(); in main()
69 test<bidirectional_iterator<const int*>, forward_iterator<const int*> >(); in main()
75 test<random_access_iterator<const int*>, forward_iterator<const int*> >(); in main()
81 test<const int*, forward_iterator<const int*> >(); in main()
/llvm-project/libcxx/test/std/numerics/numeric.ops/adjacent.difference/
H A Dadjacent_difference.pass.cpp83 test<cpp17_input_iterator<const int*>, forward_iterator<int*> >(); in test()
88 test<forward_iterator<const int*>, cpp17_output_iterator<int*> >(); in test()
89 test<forward_iterator<const int*>, forward_iterator<int*> >(); in test()
90 test<forward_iterator<const int*>, bidirectional_iterator<int*> >(); in test()
91 test<forward_iterator<const int*>, random_access_iterator<int*> >(); in test()
92 test<forward_iterator<const int*>, int*>(); in test()
95 test<bidirectional_iterator<const int*>, forward_iterator<int*> >(); in test()
101 test<random_access_iterator<const int*>, forward_iterator<int*> >(); in test()
107 test<const int*, forward_iterator<int*> >(); in test()
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/
H A Dincludes.pass.cpp57 test<cpp17_input_iterator<const int*>, forward_iterator<const int*> >(); in do_tests()
62 test<forward_iterator<const int*>, cpp17_input_iterator<const int*> >(); in do_tests()
63 test<forward_iterator<const int*>, forward_iterator<const int*> >(); in do_tests()
64 test<forward_iterator<const int*>, bidirectional_iterator<const int*> >(); in do_tests()
65 test<forward_iterator<const int*>, random_access_iterator<const int*> >(); in do_tests()
66 test<forward_iterator<const int*>, const int*>(); in do_tests()
69 test<bidirectional_iterator<const int*>, forward_iterator<const int*> >(); in do_tests()
75 test<random_access_iterator<const int*>, forward_iterator<const int*> >(); in do_tests()
81 test<const int*, forward_iterator<const int*> >(); in do_tests()

12345678910>>...18