Searched refs:int_iterator (Results 1 – 1 of 1) sorted by relevance
118 struct int_iterator { struct125 int_iterator() = default;126 int_iterator(int i) :val(i) {} in int_iterator() argument129 bool operator==(int_iterator rhs) const { return val == rhs.val; } in operator ==() argument130 bool operator!=(int_iterator rhs) const { return val != rhs.val; } in operator !=() argument131 int_iterator operator++() { ++val; return *this; } in operator ++() argument132 int_iterator operator++(int) { in operator ++() argument142 int_iterator begin() const { return int_iterator{ 1 }; } in begin()143 int_iterator end() const { return {}; } in end()152 int_iterator begin() const { return int_iterator{ 1 }; } in begin()[all …]