Range-v3
Range algorithms, views, and actions for the Standard Library
 
Loading...
Searching...
No Matches
ranges::actions::split_when_fn Struct Reference

Public Types

template<typename Rng >
using split_value_t
 

Public Member Functions

template<typename Fun >
constexpr auto operator() (Fun fun) const
 
template<typename Rng , typename Fun >
requires forward_range<Rng> && invocable<Fun &, iterator_t<Rng>, sentinel_t<Rng>> && invocable<Fun &, iterator_t<Rng>, iterator_t<Rng>> && copy_constructible<Fun> && convertible_to<invoke_result_t<Fun &, iterator_t<Rng>, sentinel_t<Rng>>, std::pair<bool, iterator_t<Rng>>>
std::vector< split_value_t< Rng > > operator() (Rng &&rng, Fun fun) const
 
template<typename Rng , typename Fun >
requires forward_range<Rng> && predicate<Fun const &, range_reference_t<Rng>> && copy_constructible<Fun>
std::vector< split_value_t< Rng > > operator() (Rng &&rng, Fun fun) const
 

Member Typedef Documentation

◆ split_value_t

template<typename Rng >
using ranges::actions::split_when_fn::split_value_t
Initial value:
uncvref_t<Rng>, std::vector<range_value_t<Rng>>>
The container concept.
Definition concepts.hpp:76
_t< detail::_if_< bool_< If >, Args... > > if_c
Select one type or another depending on a compile-time Boolean.
Definition meta.hpp:1244