Horizon
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
for_each.hpp File Reference
#include <functional>
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/result_types.hpp>
#include <range/v3/functional/identity.hpp>
#include <range/v3/functional/invoke.hpp>
#include <range/v3/functional/reference_wrapper.hpp>
#include <range/v3/iterator/traits.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Namespaces

namespace  ranges::cpp20
 

Typedefs

template<typename I , typename F >
using ranges::for_each_result = detail::in_fun_result< I, F >
 

Functions

 ranges::template (typename I, typename S, typename F, typename P=identity)(AND sentinel_for< S
 function template all_of
 
I AND indirectly_unary_invocable< F, projected< I, P > > constexpr for_each_result< I, F > RANGES_FUNC() ranges::for_each (I first, S last, F fun, P proj=P{})
 
 ranges::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 only in what argument(s) it accepts.
 
projected< iterator_t< Rng >, P > constexpr for_each_result< borrowed_iterator_t< Rng >, F > RANGES_FUNC() ranges::for_each (Rng &&rng, F fun, P proj=P{})