Searched refs:SomeIntComparable (Results 1 – 1 of 1) sorted by relevance
20 struct SomeIntComparable { struct24 constexpr SomeIntComparable() : value_(SomeInt(10)) {} in SomeIntComparable() function26 friend constexpr bool operator==(SomeIntComparable lhs, SomeIntComparable rhs) { in operator ==()29 friend constexpr bool operator==(SomeIntComparable lhs, SomeInt rhs) { in operator ==()32 friend constexpr bool operator==(SomeInt lhs, SomeIntComparable rhs) { in operator ==()36 friend constexpr difference_type operator-(SomeIntComparable lhs, SomeIntComparable rhs) { in operator -()40 constexpr SomeIntComparable& operator++() { ++value_; return *this; } in operator ++() argument41 constexpr SomeIntComparable operator++(int) { auto tmp = *this; ++value_; return tmp; } in operator ++() argument42 constexpr SomeIntComparable operator--() { --value_; return *this; } in operator --() argument55 std::ranges::iota_view<SomeInt, SomeIntComparable> io(SomeInt(0)); in test()