Range-v3
Range algorithms, views, and actions for the Standard Library
all_of.hpp File Reference

Functions

template<typename I , typename S , typename F , typename P = identity>
auto ranges::all_of (I first, S last, F pred, P proj=P{}) -> bool requires input_iterator< I > &&sentinel_for< S, I > &&indirect_unary_predicate< F, projected< I, P >>
 function template all_of
 
template<typename Rng , typename F , typename P = identity>
auto ranges::all_of (Rng &&rng, F pred, P proj=P{}) -> bool requires input_range< Rng > &&indirect_unary_predicate< F, projected< iterator_t< Rng >, P >>
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.