operator==,<,>,<=,>=,<=>(ranges::concat_view::iterator)
friend constexpr bool operator==
( const /*iterator*/& x, std::default_sentinel_t );
|
(1) | (seit C++26) |
friend constexpr bool operator==
( const /*iterator*/& x, const /*iterator*/& y )
requires (std::equality_comparable<ranges::iterator_t<
std::conditional_t<Const, const Views, Views>>> && ...);
|
(2) | (seit C++26) |
friend constexpr bool operator<
( const /*iterator*/& x, const /*iterator*/& y )
requires /*all-random-access*/<Const, Views...>;
|
(3) | (seit C++26) |
friend constexpr bool operator>
( const /*iterator*/& x, const /*iterator*/& y )
requires /*all-random-access*/<Const, Views...>;
|
(4) | (seit C++26) |
friend constexpr bool operator<=
( const /*iterator*/& x, const /*iterator*/& y )
requires /*all-random-access*/<Const, Views...>;
|
(5) | (seit C++26) |
friend constexpr bool operator>=
( const /*iterator*/& x, const /*iterator*/& y )
requires /*all-random-access*/<Const, Views...>;
|
(6) | (seit C++26) |
friend constexpr auto operator<=>
( const /*iterator*/& x, const /*iterator*/& y )
requires (/*all-random-access*/<Const, Views...> &&
(std::three_way_comparable<ranges::iterator_t<
std::conditional_t<Const, const Views, Views>>> && ...));
|
(7) | (seit C++26) |
Vergleicht den Iterator mit einem anderen Iterator oder einem Sentinel.
x.it_ .valueless_by_exception() true ist, ist das Verhalten undefiniert.x.it_ .valueless_by_exception() || y.it_ .valueless_by_exception() true ist, ist das Verhalten undefiniert.Diese Funktionen sind für die gewöhnliche unqualifizierte oder qualifizierte Namenssuche nicht sichtbar und können nur durch argumentabhängige Namenssuche gefunden werden, wenn std::ranges::concat_view::iterator <Const> eine assoziierte Klasse der Argumente ist.
Parameter
| x, y | - | zu vergleichende Iteratoren |
Rückgabewert
x.
it_
.
index
(
)
==
(
sizeof...
(
Views
)
-
1
)
&&
x.
get-iter
<
sizeof...
(
Views
)
-
1
>
(
)
==
x.
get-end
<
sizeof...
(
Views
)
-
1
>
(
)
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |