Searched defs: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()
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()