std::ranges::lazy_split_view<V,Pattern>::lazy_split_view
From cppreference.com
 
 
 < cpp | ranges | lazy split view 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Ranges library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
	
		
(C++23)(C++23)
  (C++23)(C++23)
(C++23)(C++23)
  (C++26)(C++26)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
  (C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)
    lazy_split_view()
 (1) 
 (since C++20) 
    requires std::default_initializable <V> &&
constexpr explicit lazy_split_view( V base, Pattern pattern );
 (2)
 (since C++20)
template< ranges::input_range R >
 (3) 
 (since C++20) 
    requires std::constructible_from <V, views::all_t <R>> &&
             std::constructible_from <Pattern, ranges::single_view <
                                                  ranges::range_value_t <R>>>
Constructs a lazy_split_view.
2) Initializes the underlying view 
base_ with std::move(base) and the delimiter pattern_ with std::move(pattern).3) Initializes the underlying view 
base_ with views::all (std::forward <R>(r)) and the delimiter pattern_ with ranges::single_view {std::move(e)}.[edit] Parameters
 base
 -
 the underlying view to be split
 pattern
 -
 a view to be used as the delimiter
 e
 -
 an element to be used as the delimiter
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
| DR | Applied to | Behavior as published | Correct behavior | 
|---|---|---|---|
| LWG 3714 (P2711R1) | C++20 | the multi-parameter constructor (2) was not explicit | made explicit |