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

Synopsis of methods

constexpr split_fn split {}
 

Public Member Functions

template<typename T >
constexpr auto operator() (T t) const
 
- Public Member Functions inherited from ranges::views::split_base_fn
template<typename Rng >
constexpr auto operator() (Rng &&rng, range_value_t< Rng > val) const -> split_view< all_t< Rng >, single_view< range_value_t< Rng >>> requires viewable_range< Rng > &&input_range< Rng > &&indirectly_comparable< iterator_t< Rng >, range_value_t< Rng > const *, ranges::equal_to >
 
template<typename Rng , typename Pattern >
constexpr auto operator() (Rng &&rng, Pattern &&pattern) const -> split_view< all_t< Rng >, all_t< Pattern >> requires viewable_range< Rng > &&input_range< Rng > &&viewable_range< Pattern > &&forward_range< Pattern > &&indirectly_comparable< iterator_t< Rng >, iterator_t< Pattern >, ranges::equal_to > &&(forward_range< Rng >||detail::tiny_range< Pattern >)