std::ranges::chunk_by_view<V,Pred>::pred

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



Dangling iterator handling
Range concepts
Views

Range factories
Range adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
(until C++23)(C++23)


 
 
constexpr const Pred& pred() const;
(since C++23)

Returns a reference to the contained Pred object. Equivalent to return *pred_;.

The behavior is undefined if pred_ does not contain a value.

Parameters

(none)

Return value

A copy of the underlying view.

Example