#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/iterator/operations.hpp>
#include <range/v3/iterator/traits.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.
|
| ranges::template (typename I, typename F, typename P=identity)(AND indirectly_unary_invocable< F |
| function template for_each_n
|
|
projected< I, P > constexpr I RANGES_FUNC() | ranges::for_each_n (I first, iter_difference_t< I > n, 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 borrowed_iterator_t< Rng > RANGES_FUNC() | ranges::for_each_n (Rng &&rng, range_difference_t< Rng > n, F fun, P proj=P{}) |
|