Namespaces
Variants

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

ja.cppreference.net より
 
 
範囲ライブラリ
範囲アダプタ
 
 
/*sentinel*/() = default;
(1) (C++20以上)
constexpr explicit /*sentinel*/( ranges::sentinel_t<Base> end );
(2) (C++20以上)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
  requires Const &&
    std::convertible_to<ranges::sentinel_t<V>, ranges::sentinel_t<Base>>;
(3) (C++20以上)

番兵を構築します。

1) デフォルトコンストラクタ。値初期化により、内部の番兵を初期化します。
2) 内部の番兵を end で初期化します。
3) /*sentinel*/<false> から /*sentinel*/<true> への変換。対応するメンバをムーブ構築します。

パラメータ

end - (const修飾される可能性のある) V の終端を表すセンチネル
i - /*sentinel*/ < false >

例