operator==,<,>,<=,>=,<=>(ranges::concat_view::iterator)
friend constexpr bool operator== ( const /*iterator*/& x, std::default_sentinel_t ); |
(1) | (since C++26) |
friend constexpr bool operator== ( const /*iterator*/& x, const /*iterator*/& y ) |
(2) | (since C++26) |
friend constexpr bool operator< ( const /*iterator*/& x, const /*iterator*/& y ) |
(3) | (since C++26) |
friend constexpr bool operator> ( const /*iterator*/& x, const /*iterator*/& y ) |
(4) | (since C++26) |
friend constexpr bool operator<= ( const /*iterator*/& x, const /*iterator*/& y ) |
(5) | (since C++26) |
friend constexpr bool operator>= ( const /*iterator*/& x, const /*iterator*/& y ) |
(6) | (since C++26) |
friend constexpr auto operator<=> ( const /*iterator*/& x, const /*iterator*/& y ) |
(7) | (since C++26) |
Compares the iterator with another iterator or a sentinel.
it_
.valueless_by_exception() is true, the behavior is undefined.it_
.valueless_by_exception() || y.it_
.valueless_by_exception() is true, the behavior is undefined.These functions are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when std::ranges::concat_view::iterator <Const>
is an associated class of the arguments.
[edit] Parameters
x, y | - | iterators to compare |
[edit] Return value
x.it_
.index() == (sizeof...(Views) - 1) &&
x.get-iter
<sizeof...(Views) - 1>() == x.get-end
<sizeof...(Views) - 1>()
[edit] Example
This section is incomplete Reason: no example |