Lines Matching refs:IteratorWithMoveIter
161 struct IteratorWithMoveIter { struct
164 explicit IteratorWithMoveIter() = default; argument
166 constexpr IteratorWithMoveIter(int* ptr_) : ptr(ptr_) {} in IteratorWithMoveIter() argument
170 constexpr IteratorWithMoveIter& operator++() { ++ptr; return *this; } in operator ++() argument
171 constexpr IteratorWithMoveIter operator++(int) { auto ret = *this; ++*this; return ret; } in operator ++() argument
173 constexpr IteratorWithMoveIter& operator--() { --ptr; return *this; } in operator --() argument
174 constexpr IteratorWithMoveIter operator--(int) { auto ret = *this; --*this; return ret; } in operator --() argument
176 friend constexpr int iter_move(const IteratorWithMoveIter&) { return 42; } in iter_move() argument
178 constexpr bool operator==(const IteratorWithMoveIter& other) const = default;
344 …auto ret = std::ranges::move_backward(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4), b.data… in test()
352 auto range = std::ranges::subrange(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4)); in test()