Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | ranges‎ | chunk by view
Revision as of 18:58, 27 February 2024 by Lynnboy (Talk | contribs)

 
 
Ranges library
Range adaptors
 
 
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 reference to the contained Pred object.

Example