Lines Matching refs:Iter

31 template <class Iter, class Out = int*, class Sent = sentinel_wrapper<Iter>>
32 concept HasRotateCopyIt = requires(Iter first, Sent last, Out out) { std::ranges::rotate_copy(first…
54 template <class Iter, class OutIter, class Sent, int N>
58 std::same_as<std::ranges::in_out_result<Iter, OutIter>> decltype(auto) ret = in test()
59 std::ranges::rotate_copy(Iter(value.data()), in test()
60 Iter(value.data() + middle), in test()
61 Sent(Iter(value.data() + value.size())), in test()
69 auto range = std::ranges::subrange(Iter(value.data()), Sent(Iter(value.data() + value.size()))); in test()
70 std::same_as<std::ranges::in_out_result<Iter, OutIter>> decltype(auto) ret = in test()
71 std::ranges::rotate_copy(range, Iter(value.data() + middle), OutIter(out.data())); in test()
78 template <class Iter, class OutIter, class Sent>
81 test<Iter, OutIter, Sent, 4>({1, 2, 3, 4}, 2, {3, 4, 1, 2}); in test_iterators()
84 test<Iter, OutIter, Sent, 0>({}, 0, {}); in test_iterators()
87 test<Iter, OutIter, Sent, 1>({1}, 0, {1}); in test_iterators()
90 test<Iter, OutIter, Sent, 2>({1, 2}, 1, {2, 1}); in test_iterators()
93 test<Iter, OutIter, Sent, 7>({1, 2, 3, 4, 5, 6, 7}, 0, {1, 2, 3, 4, 5, 6, 7}); in test_iterators()
96 test<Iter, OutIter, Sent, 7>({1, 2, 3, 4, 5, 6, 7}, 1, {2, 3, 4, 5, 6, 7, 1}); in test_iterators()
99 test<Iter, OutIter, Sent, 7>({1, 2, 3, 4, 5, 6, 7}, 6, {7, 1, 2, 3, 4, 5, 6}); in test_iterators()
102 test<Iter, OutIter, Sent, 7>({1, 2, 3, 4, 5, 6, 7}, 7, {1, 2, 3, 4, 5, 6, 7}); in test_iterators()
105 template <class Iter, class Sent = Iter>
107 test_iterators<Iter, cpp20_output_iterator<int*>, Sent>(); in test_out_iterators()
108 test_iterators<Iter, forward_iterator<int*>, Sent>(); in test_out_iterators()
109 test_iterators<Iter, bidirectional_iterator<int*>, Sent>(); in test_out_iterators()
110 test_iterators<Iter, random_access_iterator<int*>, Sent>(); in test_out_iterators()
111 test_iterators<Iter, contiguous_iterator<int*>, Sent>(); in test_out_iterators()
112 test_iterators<Iter, int*, Sent>(); in test_out_iterators()