Lines Matching full:it
41 template<class It, class ConstIt>
42 void test_eq(It it, ConstIt cit) {
43 (void)(it == it);
44 (void)(it != it);
45 (void)(it == cit);
46 (void)(it != cit);
47 (void)(cit == it);
48 (void)(cit != it);
53 template<class It, class ConstIt>
54 void test_lt(It it, ConstIt cit) {
55 (void)(it < it);
56 (void)(it <= it);
57 (void)(it > it);
58 (void)(it >= it);
59 (void)(it < cit);
60 (void)(it <= cit);
61 (void)(it > cit);
62 (void)(it >= cit);
63 (void)(cit < it);
64 (void)(cit <= it);
65 (void)(cit > it);
66 (void)(cit >= it);
72 // Test subtraction too, even though std::rel_ops shouldn't affect it.
74 (void)(it - it);
75 (void)(it - cit);
76 (void)(cit - it);
87 typename Container::iterator it = c.begin();
89 test_eq(it, cit);
95 typename Container::iterator it = c.begin();
97 test_eq(it, cit);
98 test_lt(it, cit);
119 std::filesystem::directory_iterator it;
120 test_eq(it, it);
137 std::span<int>::iterator it = c.begin(); // span has no const_iterator
138 test_eq(it, it);
139 test_lt(it, it);