Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::split_view< V, Pattern > Struct Template Reference
+ Inheritance diagram for ranges::split_view< V, Pattern >:

Public Member Functions

constexpr V base () const
 
constexpr outer_iterator< forward_range< V > &&simple_view< V >()> begin ()
 
constexpr auto begin () const -> outer_iterator< true >
 
constexpr auto end () -> outer_iterator< simple_view< V >()>
 
constexpr auto end () const
 
constexpr split_view (V base, Pattern pattern)
 
constexpr split_view (V base, range_value_t< V > e)
 
- Public Member Functions inherited from ranges::view_interface< split_view< V, Pattern >, is_finite< V >::value ? finite :unknown >
constexpr auto empty () const noexcept -> bool
 Test whether a range can be empty:
 
&&!detail ::has_fixed_size_< Cardinality > &&forward_range< D< True > const > constexpr bool empty () const noexcept(noexcept(bool(ranges::begin(std::declval< D< True > const & >())==ranges::end(std::declval< D< True > const & >()))))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
&&Cardinality< 0) &&(Cardinality !=infinite) &&(!forward_range< D< True > >) &&sized_range< D< True > > constexpr bool empty() noexcept(noexcept(bool(ranges::size(std::declval< D< True > & >())==0))) { return ranges::size(derived())==0;} template< bool True=true > &&Cardinality< 0) &&(Cardinality !=infinite) &&(!forward_range< D< True > const >) &&sized_range< D< True > const > constexpr bool empty() const noexcept(noexcept(bool(ranges::size(std::declval< D< True > const & >())==0))) { return ranges::size(derived())==0;} template< bool True=true > &&!detail ::has_fixed_size_< Cardinality > &&forward_range< D< True > > constexpr bool empty () noexcept(noexcept(bool(ranges::begin(std::declval< D< True > & >())==ranges::end(std::declval< D< True > & >()))))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
&&detail::can_empty_< D< True > const > constexpr operator bool () const noexcept(noexcept(ranges::empty(std::declval< D< True > const & >())))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
&&detail::can_empty_< D< True > > constexpr operator bool () noexcept(noexcept(ranges::empty(std::declval< D< True > & >())))
 
view_interfaceoperator= (view_interface &&)=default
 
view_interfaceoperator= (view_interface const &)=default
 
 view_interface (view_interface &&)=default
 
 view_interface (view_interface const &)=default
 

Friends

template<typename , bool >
struct detail::split_inner_iterator
 
template<typename , bool >
struct detail::split_outer_iterator
 

Additional Inherited Members

- Protected Types inherited from ranges::view_interface< split_view< V, Pattern >, is_finite< V >::value ? finite :unknown >
using D = meta::invoke< detail::dependent_< B >, split_view< V, Pattern > >
 
- Protected Member Functions inherited from ranges::view_interface< split_view< V, Pattern >, is_finite< V >::value ? finite :unknown >
constexpr split_view< V, Pattern > const & derived () const noexcept
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
constexpr split_view< V, Pattern > & derived () noexcept