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

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt, typename Size, typename OutputIt>
constexpr auto copy_n (InputIt first, Size count, OutputIt result) -> OutputIt
 Copies exactly count values from the range beginning at first to the range beginning at result. Formally, for each integer 0 <= i < count, performs *(result + i) = *(first + i). Overlap of ranges is formally permitted, but leads to unpredictable ordering of the results.