operator==(ranges::join_with_view::iterator)
來自 cppreference.com
< cpp | ranges | join_with_view | iterator
friend constexpr bool operator==( const /*iterator*/& x, const /*iterator*/& y ) requires std::is_reference_v<InnerBase> && |
(C++23 起) | |
比較迭代器 x 和 y 是否相等。當且僅當它們的外部迭代器和內部迭代器分別相等時,它們才被視為相等。
此函式對於普通的非限定或限定查詢不可見,只有當 std::ranges::join_with_view::iterator
<Const>
是引數的關聯類時,才能透過實參依賴查詢找到它。
!=
運算子由 operator==
合成。
[編輯] 引數
x, y | - | 要比較的迭代器 |
[編輯] 返回值
x.outer_it_
== y.outer_it_
&& x.inner_it_
== y.inner_it_
[編輯] 參閱
(C++23) |
將哨位與從 join_with_view::begin 返回的迭代器進行比較 (函式) |