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

Synopsis of methods

constexpr action< take_while_fntake_while {}
 

Public Member Functions

template<typename Rng , typename Fun >
requires ForwardRange< Rng > &&ErasableRange< Rng &, iterator_t< Rng >, sentinel_t< Rng > > &&IndirectUnaryPredicate< Fun, iterator_t< Rng > > Rng operator() (Rng &&rng, Fun fun) const