Luna::copy
template <typename _InputIt, typename _OutputIt>
_OutputIt copy(_InputIt first, _InputIt last, _OutputIt d_first)
Copies elements from one range to another range.
Parameters
-
in first
The iterator to the first element of the source range.
-
in last
The iterator to the one-past-last element of the source range.
-
in d_first
The iterator to the first element of the destination range.
Return value
Returns one iterator to the one-past-last element of the destination range.