Namespaces
Variants

std::ranges::transform_view<V,F>:: sentinel

From cppreference.net
Ranges library
Range adaptors
template < bool Const >
class /*sentinel*/
(C++20以降)
( 説明専用* )

transform_view::end の戻り値の型は、 基になるビューが common_range でない場合。

/*sentinel*/ < true > はconst修飾されたオーバーロードによって返されます。型 /*sentinel*/ < false > は非const修飾されたオーバーロードによって返されます。

目次

メンバー型

メンバー型 定義
Parent (private) maybe-const  < Const, ranges:: transform_view < V, F >>
( 説明専用メンバー型* )
Base (private) maybe-const  < Const, V >
( 説明専用メンバー型* )

データメンバ

メンバーオブジェクト 定義
ranges:: sentinel_t < Base > end_ (非公開) (const修飾された可能性のある) V から取得されたセンチネル
( 説明専用メンバーオブジェクト* )

メンバー関数

センチネルを構築する
(public member function)
基となるセンチネルを返す
(public member function)

非メンバー関数

(C++20)
transform_view::begin から返されたイテレータとセンチネルを比較する
(関数)
(C++20)
transform_view::begin から返されたイテレータとセンチネル間の距離を計算する
(関数)