std::ranges::split_view<V,Pattern>::split_view
From cppreference.com
< cpp | ranges | split view
Defined in header <ranges>
|
||
split_view() requires std::default_initializable<V> && |
(1) | (since C++20) |
constexpr explicit split_view( V base, Pattern pattern ); |
(2) | (since C++20) |
template< ranges::forward_range R > requires std::constructible_from<V, views::all_t<R>> && |
(3) | (since C++20) |
Constructs a split_view
.
Let base_
be the underlying view and pattern_
be the delimiter.
1) Default constructor.