Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::action::slice_fn Struct Reference

Synopsis of methods

constexpr action< slice_fnslice {}
 

Public Member Functions

template<typename Rng , typename I = iterator_t<Rng>>
auto operator() (Rng &&rng, diff_t< Rng > from, diff_t< Rng > to) const -> Rng requires ForwardRange< Rng > &&ErasableRange< Rng &, I, I >
 
template<typename Rng , typename I = iterator_t<Rng>>
auto operator() (Rng &&rng, diff_t< Rng > from, detail::from_end_< diff_t< Rng >> to) const -> Rng requires BidirectionalRange< Rng > &&ErasableRange< Rng &, I, I >
 
template<typename Rng , typename I = iterator_t<Rng>>
auto operator() (Rng &&rng, detail::from_end_< diff_t< Rng >> from, detail::from_end_< diff_t< Rng >> to) const -> Rng requires BidirectionalRange< Rng > &&ErasableRange< Rng &, I, I >
 
template<typename Rng , typename I = iterator_t<Rng>>
auto operator() (Rng &&rng, diff_t< Rng > from, end_fn const &) const -> Rng requires ForwardRange< Rng > &&ErasableRange< Rng &, I, I >
 
template<typename Rng , typename I = iterator_t<Rng>>
auto operator() (Rng &&rng, detail::from_end_< diff_t< Rng >> from, end_fn const &) const -> Rng requires BidirectionalRange< Rng > &&ErasableRange< Rng &, I, I >