Searched refs:IteratorWithMoveIter (Results 1 – 2 of 2) sorted by relevance
161 struct IteratorWithMoveIter { struct164 explicit IteratorWithMoveIter() = default; argument166 constexpr IteratorWithMoveIter(int* ptr_) : ptr(ptr_) {} in IteratorWithMoveIter() argument170 constexpr IteratorWithMoveIter& operator++() { ++ptr; return *this; } in operator ++() argument171 constexpr IteratorWithMoveIter operator++(int) { auto ret = *this; ++*this; return ret; } in operator ++() argument173 constexpr IteratorWithMoveIter& operator--() { --ptr; return *this; } in operator --() argument174 constexpr IteratorWithMoveIter operator--(int) { auto ret = *this; --*this; return ret; } in operator --() argument176 friend constexpr int iter_move(const IteratorWithMoveIter&) { return 42; } in iter_move() argument178 constexpr bool operator==(const IteratorWithMoveIter& other) const = default;344 …auto ret = std::ranges::move_backward(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4), b.data… in test()[all …]
167 struct IteratorWithMoveIter { struct170 explicit IteratorWithMoveIter() = default; argument172 constexpr IteratorWithMoveIter(int* ptr_) : ptr(ptr_) {} in IteratorWithMoveIter() argument176 constexpr IteratorWithMoveIter& operator++() { ++ptr; return *this; } in operator ++() argument177 constexpr IteratorWithMoveIter operator++(int) { auto ret = *this; ++*this; return ret; } in operator ++() argument179 friend constexpr int iter_move(const IteratorWithMoveIter&) { return 42; } in iter_move() argument181 constexpr bool operator==(const IteratorWithMoveIter& other) const = default;358 auto ret = std::ranges::move(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4), b.data()); in test()366 auto range = std::ranges::subrange(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4)); in test()