Namespaces
Variants
Views
Actions

deduction guides for std::ranges::chunk_by_view

From cppreference.com
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Factories




Adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
 
 
template< class R, class Pred >
  chunk_by_view( R&&, Pred ) -> chunk_by_view<views::all_t<R>, Pred>;
(since C++23)

The deduction guide is provided for std::ranges::chunk_by_view to allow deduction from range and predicate function.

[edit] Example