Namespaces
Variants

std::ranges::slide_view<V>::番兵(sentinel)

From ja.cppreference.net
 
 
範囲ライブラリ
範囲アダプタ
 
 
class /*sentinel*/;
(C++23以降)
(説明専用*)

元となるビューがslide_view::endcommon_rangeでない場合のの戻り値の型。

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

データメンバ

メンバ 説明
ranges::sentinel_t<V> end_ (プライベート) センチネル
(説明専用のメンバオブジェクト*)

メンバー関数

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

非メンバー関数

(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]

関連項目