4#ifndef TETL_ALGORITHM_FOR_EACH_N_HPP
5#define TETL_ALGORITHM_FOR_EACH_N_HPP
20template <
typename InputIt,
typename Size,
typename UnaryFunc>
21constexpr auto for_each_n(InputIt first, Size n, UnaryFunc f)
noexcept -> InputIt
23 for (Size i = 0; i < n; ++first, (
void)++i) {
constexpr auto for_each_n(InputIt first, Size n, UnaryFunc f) noexcept -> InputIt
Applies the given function object f to the result of dereferencing every iterator in the range [first...
Definition for_each_n.hpp:21
Definition adjacent_find.hpp:9