13#ifndef RANGES_V3_ALGORITHM_ALL_OF_HPP
14#define RANGES_V3_ALGORITHM_ALL_OF_HPP
27#include <range/v3/utility/static_const.hpp>
29#include <range/v3/detail/prologue.hpp>
35 RANGES_FUNC_BEGIN(all_of)
41 constexpr
bool RANGES_FUNC(all_of)(I
first, S last, F pred, P proj = P{})
50 template(
typename Rng,
typename F,
typename P =
identity)(
53 constexpr bool RANGES_FUNC(all_of)(Rng && rng, F pred, P proj = P{})
55 return (*
this)(begin(rng), end(rng), std::move(pred), std::move(proj));
58 RANGES_FUNC_END(all_of)
67#include <range/v3/detail/epilogue.hpp>
The indirect_unary_predicate concept.
The sentinel_for concept.
template(typename Rng, typename F, typename P=identity)(AND indirect_unary_predicate< F
This is an overloaded member function, provided for convenience. It differs from the above function o...
decltype(begin(declval(Rng &))) iterator_t
Definition: access.hpp:698
typename Fn::template invoke< Args... > invoke
Evaluate the invocable Fn with the arguments Args.
Definition: meta.hpp:541
front< Pair > first
Retrieve the first element of the pair Pair.
Definition: meta.hpp:2251
Definition: identity.hpp:25