operator==, !=(std::move_iterator<Iter>, std::move_sentinel)
提供: cppreference.com
< cpp | iterator | move iterator
template<std::sentinel_for<Iter> S> friend constexpr bool |
(1) | (C++20以上) |
template<std::sentinel_for<Iter> S> friend constexpr bool |
(2) | (C++20以上) |
template<std::sentinel_for<Iter> S> friend constexpr bool |
(3) | (C++20以上) |
template<std::sentinel_for<Iter> S> friend constexpr bool |
(4) | (C++20以上) |
move_iterator
と move_sentinel
を比較します。
これらの関数は、通常の非修飾名または修飾名の名前探索に対して可視ではなく、 std::move_iterator<Iter> が引数の関連クラスであるときの���引数依存の名前探索によってのみ発見できます。
[編集] 引数
i | - | std::move_iterator<Iter>
|
s | - | std::move_sentinel<S> ただし S は std::sentinel_for<Iter> をモデル化します
|
[編集] 戻り値
1-2) i.base() == s.base()
3-4) !(i == s)
[編集] 関連項目
ベースとなるイテレータを比較します (関数テンプレート) |