Namespaces
Variants

operator== (ranges::adjacent_transform_view:: sentinel )

From cppreference.net
Ranges library
Range adaptors
template < bool OtherConst >

requires std:: sentinel_for < /*inner-sentinel*/ < Const > ,
/*inner-iterator*/ < OtherConst >>
friend constexpr bool operator == ( const /*iterator*/ < OtherConst > & x,

const /*sentinel*/ & y ) ;
(C++23以降)
翻訳のポイント: - HTMLタグ、属性、 内のテキストは翻訳せず保持 - C++固有の用語(template, requires, constexpr, operator==など)は翻訳せず保持 - コメント部分(/*inner-sentinel*/など)は翻訳せず保持 - 日付表記のみ「(since C++23)」→「(C++23以降)」に翻訳 - コード構造とフォーマットは完全に保持

x の基盤となるイテレータと y の基盤となるセンチネルを比較します。

次と等価: return x. inner_ == y. inner_ ;

この関数テンプレートは通常の unqualified lookup または qualified lookup では可視化されず、 argument-dependent lookup によってのみ発見可能です。ただし、 adjacent_transform_view:: sentinel が引数の関連クラスである場合に限ります。

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

パラメータ

x - 比較対象の iterator
y - 比較対象の sentinel

戻り値

比較の結果。