名前空間
変種
操作

std::ranges::adjacent_transform_view<V,F,N>::sentinel

From cppreference.com
 
 
Rangesライブラリ
Rangeアダプタ
 
 
template< bool Const >
class /*sentinel*/;
(説明用*)

adjacent_transform_view::end の戻り値の型。基底ビューが common_range でない場合に使用されます。

const修飾されたオーバーロードからは/*sentinel*/<true>型が返されます。非const修飾されたオーバーロードからは/*sentinel*/<false>型が返されます。

目次

[編集] データメンバー

メンバオブジェクト 定義
inner_ (private) inner-sentinel 型のセンチネル。
(説明用のメンバオブジェクト*)

[編集] メンバ関数

センチネルを構築します
(public member function) [編集]

[編集] 非メンバ関数

adjacent_transform_view::begin から返されたイテレータとセンチネルを比較します。
(関数) [編集]
(C++23)
adjacent_transform_view::begin から返されたイテレータとセンチネルの間の距離を計算します。
(関数) [編集]

[編集]

[編集] 参考文献

  • C++23標準 (ISO/IEC 14882:2024)
  • 26.7.27.4 クラステンプレート adjacent_transform_view::sentinel [range.adjacent.transform.sentinel]

[編集] 関連項目

English 日本語 中文(简体) 中文(繁體)