Searched defs:DiffTypeIterator (Results 1 – 2 of 2) sorted by relevance
227 struct DiffTypeIterator { in test() struct228 using difference_type = signed char; in test()229 using value_type = int; in test()231 int* it = nullptr; in test()234 constexpr DiffTypeIterator(int* i) : it(i) {} in test() argument236 constexpr int& operator*() const { return *it; } in test()237 constexpr DiffTypeIterator& operator++() { ++it; return *this; } in test()238 constexpr void operator++(int) { ++it; } in test()
253 struct DiffTypeIterator { in test() struct254 using difference_type = signed char; in test()255 using value_type = int; in test()257 int* it = nullptr; in test()260 constexpr DiffTypeIterator(int* i) : it(i) {} in test() function262 constexpr int& operator*() const { return *it; } in test()263 constexpr DiffTypeIterator& operator++() { ++it; return *this; } in test()264 constexpr void operator++(int) { ++it; } in test()