Searched refs:IteratorWithMoveIter (Results 1 – 2 of 2) sorted by relevance
105 struct IteratorWithMoveIter { struct108 explicit IteratorWithMoveIter() = default; argument110 constexpr IteratorWithMoveIter(int* ptr_) : ptr(ptr_) {} in IteratorWithMoveIter() argument114 constexpr IteratorWithMoveIter& operator++() { ++ptr; return *this; } in operator ++() argument115 constexpr IteratorWithMoveIter operator++(int) { auto ret = *this; ++*this; return ret; } in operator ++() argument117 constexpr IteratorWithMoveIter& operator--() { --ptr; return *this; } in operator --() argument118 constexpr IteratorWithMoveIter operator--(int) { auto ret = *this; --*this; return ret; } in operator --() argument120 friend constexpr int iter_move(const IteratorWithMoveIter&) { return 42; } in iter_move() argument122 constexpr bool operator==(const IteratorWithMoveIter& other) const = default;267 …auto ret = std::ranges::move_backward(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4), b.data… in test()[all …]
107 struct IteratorWithMoveIter { struct110 explicit IteratorWithMoveIter() = default; argument112 constexpr IteratorWithMoveIter(int* ptr_) : ptr(ptr_) {} in IteratorWithMoveIter() argument116 constexpr IteratorWithMoveIter& operator++() { ++ptr; return *this; } in operator ++() argument117 constexpr IteratorWithMoveIter operator++(int) { auto ret = *this; ++*this; return ret; } in operator ++() argument119 friend constexpr int iter_move(const IteratorWithMoveIter&) { return 42; } in iter_move() argument121 constexpr bool operator==(const IteratorWithMoveIter& other) const = default;273 auto ret = std::ranges::move(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4), b.data()); in test()281 auto range = std::ranges::subrange(IteratorWithMoveIter(a), IteratorWithMoveIter(a + 4)); in test()