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

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

Range primitives
(哋它亢++23)(哋它亢++23)    
(哋它亢++23)



Dangling iterator handling
Range concepts
Views

Range factories
(哋它亢++23)(哋它亢++23)
Range adaptors
(哋它亢++23)(哋它亢++23)
(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
Range generators
(哋它亢++23)
Range adaptor objects
Range adaptor closure objects
(哋它亢++23)
Helper items
(until 哋它亢++23)(哋它亢++23)


 
 
join_view() requires std::default_initializable<V> = default;
(1) (since 哋它亢++20)
constexpr explicit join_view( V base );
(2) (since 哋它亢++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).

Parameters

base - a view of ranges to be flattened

Example