tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
for_each_n.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt, typename Size, typename UnaryFunc>
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, first + n] in order.