Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::views::split_when_fn Struct Reference
+ Inheritance diagram for ranges::views::split_when_fn:

Synopsis of methods

constexpr split_when_fn split_when {}
 

Public Member Functions

template<typename T >
constexpr auto operator() (T &&t) const
 
- Public Member Functions inherited from ranges::views::split_when_base_fn
template<typename Rng , typename Fun >
auto operator() (Rng &&rng, Fun fun) const -> split_when_view< all_t< Rng >, Fun > requires viewable_range< Rng > &&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 >>>
 
template<typename Rng , typename Fun >
auto operator() (Rng &&rng, Fun fun) const -> split_when_view< all_t< Rng >, predicate_pred_< Fun >> requires viewable_range< Rng > &&forward_range< Rng > &&predicate< Fun const &, range_reference_t< Rng >> &&copy_constructible< Fun >