Namespaces
Variants
Views
Actions

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

Factories




Adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
 
 
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.

[edit] Parameters

(none)

[edit] Return value

A copy of the underlying view.

[edit] Example