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

Public Member Functions

template<typename Fun >
CPP_TEMPLATE_AUX_0 c (requires(!range< Fun >)) ccconstexpr auto operator()(Fun fun) const
 
template<typename Rng , typename Fun >
CPP_TEMPLATE_AUX_0 R (requires forward_range< Rng > &&erasable_range< Rng &, iterator_t< Rng >, sentinel_t< Rng >> &&indirect_unary_predicate< Fun, iterator_t< Rng >>) RRRng operator()(Rng &&rng
 
return static_cast (rng)
 

Public Attributes

CPP_TEMPLATE_AUX_0 Fun fun const
 

Related Functions

(Note that these are not member functions.)

constexpr take_while_fn take_while {}
 

Member Data Documentation

◆ const

CPP_TEMPLATE_AUX_0 Fun fun ranges::actions::take_while_fn::const
Initial value:
{
ranges::actions::erase(
rng, find_if_not(begin(rng), end(rng), std::move(fun)), end(rng))
constexpr _begin_::fn begin
Definition: access.hpp:182
constexpr _end_::fn end
Definition: access.hpp:313
constexpr move_fn move
Definition: move.hpp:52