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