Namespaces
Variants

operator==(ranges::chunk_by_view::iterator)

ja.cppreference.net より
 
 
範囲ライブラリ
範囲アダプタ
 
 
friend constexpr bool operator==( const /*iterator*/& x, const /*iterator*/& y );
(1) (C++23以降)
friend constexpr bool operator==( const /*iterator*/& x, std::default_sentinel_t );
(2) (C++23以降)

内部のイテレータを比較します。

1) return x.current_ == y.current_; と同等。
2) return x.current_ == x.next_; と同等。

この関数は通常の非修飾または修飾名前探索では見つからず、引数依存の名前探索によってのみ、std::ranges::chunk_by_view::iteratorが引数の関連クラスである場合に見つけることができます。

!= 演算子は 合成され、operator== から得られます。

パラメータ

x, y - iterators を比較する

戻り値

比較の結果。

例