chunk_by_view() requires std::default_initializable<V> && std::default_initializable<Pred> = default; | (1) | (since C++23) |
constexpr explicit chunk_by_view( V base, Pred pred ); | (2) | (since C++23) |
Constructs a chunk_by_view
.
base | - | the view to split |
pred | - | the function object (a binary predicate) used as a splitting criteria |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/chunk_by_view/chunk_by_view