std::ranges::chunk_by_view<V,Pred>::chunk_by_view
From cppreference.com
< cpp | ranges | chunk by 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++26)(C++26)
(C++23)(C++23)
(C++26)(C++26)
(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)
std::ranges::chunk_by_view
chunk_by_view::chunk_by_view
chunk_by_view()
(1)
(since C++23)
requires std::default_initializable <V> &&
std::default_initializable <Pred>
constexpr explicit chunk_by_view( V base, Pred pred );
(2)
(since C++23)
Constructs a chunk_by_view
.
1) Default constructor. Value-initializes the underlying data members via their respective default member initializers:
2) Move constructs the underlying data members:
[edit] Parameters
base
-
the view to split
pred
-
the function object (a binary predicate) used as a splitting criteria
[edit] Example
This section is incomplete
Reason: no example
Reason: no example