Namespaces
Variants

std::ranges::join_with_view<V,Pattern>:: join_with_view

From cppreference.net
Ranges library
Range adaptors
join_with_view ( )

requires std:: default_initializable < V > &&

std:: default_initializable < Pattern > = default ;
(1) (C++23以降)
constexpr explicit join_with_view ( V base, Pattern pattern ) ;
(2) (C++23以降)
template < ranges:: input_range R >

requires std:: constructible_from < V, views:: all_t < R >> &&
std:: constructible_from
< Pattern, ranges:: single_view
< ranges:: range_value_t < /*InnerRng*/ >>>
constexpr explicit join_with_view

( R && r, ranges:: range_value_t < /*InnerRng*/ > e ) ;
(3) (C++23以降)

join_with_view を構築し、基盤となるビュー base_ と格納されたパターン pattern_ を初期化します。

オーバーロード データメンバ
base_ pattern_
(1) 値初期化 値初期化
(2) std :: move ( base ) で初期化 std :: move ( pattern ) で初期化
(3) views:: all ( std:: forward < R > ( r ) ) で初期化 views:: single ( std :: move ( e ) ) で初期化

パラメータ

base - 平坦化する範囲のビュー
pattern - 区切り文字として使用するビュー
e - 区切り文字として使用する要素