Home
last modified time | relevance | path

Searched refs:SomeIntComparable (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/
H A Dctor.value.pass.cpp20 struct SomeIntComparable { struct
24 constexpr SomeIntComparable() : value_(SomeInt(10)) {} in SomeIntComparable() function
26 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 ++() argument
41 constexpr SomeIntComparable operator++(int) { auto tmp = *this; ++value_; return tmp; } in operator ++() argument
42 constexpr SomeIntComparable operator--() { --value_; return *this; } in operator --() argument
55 std::ranges::iota_view<SomeInt, SomeIntComparable> io(SomeInt(0)); in test()