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

Synopsis of methods

constexpr view< drop_while_fndrop_while {}
 

Public Types

template<typename Rng , typename Pred , typename Proj = ident>
using Concept = meta::and_< InputRange< Rng >, IndirectPredicate< Pred, projected< iterator_t< Rng >, Proj > >>
 

Public Member Functions

template<typename Rng , typename Pred , requires = (Concept<Rng, Pred>())>
drop_while_view< all_t< Rng >, Pred > operator() (Rng &&rng, Pred pred) const
 
template<typename Rng , typename Pred , typename Proj , requires = (Concept<Rng, Pred, Proj>())>
auto operator() (Rng &&rng, Pred pred, Proj proj) const noexcept(noexcept(decltype(drop_while_view< all_t< Rng >, composed< Pred, Proj >>{ all(static_cast< Rng && >(rng)), compose(std::move(pred), std::move(proj)) })(drop_while_view< all_t< Rng >, composed< Pred, Proj >>{ all(static_cast< Rng && >(rng)), compose(std::move(pred), std::move(proj)) }))) -> decltype(drop_while_view< all_t< Rng >, composed< Pred, Proj >>