Namespaces
Variants

std::ranges::take_view<V>::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> s )
    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 の終端を表すセンチネル
s - センチネル /*sentinel*/ < false >

例