Namespaces
Variants
Views
Actions

std::ranges::join_view<V>::join_view

From cppreference.com
< cpp‎ | ranges‎ | join view
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Factories




Adaptors
Range adaptor objects
Range adaptor closure objects
Helper items
 
 
join_view() requires std::default_initializable<V> = default;
(1) (since C++20)
constexpr explicit join_view( V base );
(2) (since C++20)

Constructs a join_view.

1) Default constructor. Value-initializes the underlying view. After construction, base() returns a copy of V().
2) Initializes the underlying view with std::move(base).

[edit] Parameters

base - a view of ranges to be flattened

[edit] Example