Namespaces
Variants

std::ranges::slide_view<V>:: sentinel

From cppreference.net
Ranges library
Range adaptors
class /*sentinel*/ ;
(C++23以降)
( 説明専用* )

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

/*sentinel*/ は、 /*slide-caches-first*/ < V > true の場合にのみ使用されます。

目次

データメンバ

メンバーオブジェクト 定義
end_ (private) ranges:: sentinel_t < V > 型のセンチネル。
( 説明専用メンバーオブジェクト* )

メンバー関数

センチネルを構築する
(公開メンバ関数)

非メンバー関数

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

参考文献

  • C++23標準 (ISO/IEC 14882:2024):
  • 26.7.29.4 クラス slide_view::sentinel [range.slide.sentinel]

関連項目