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

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt, typename OutputIt>
constexpr auto move (InputIt first, InputIt last, OutputIt destination) -> OutputIt
 Moves the elements in the range [first, last), to another range beginning at destination, starting from first and proceeding to last - 1. After this operation the elements in the moved-from range will still contain valid values of the appropriate type, but not necessarily the same values as before the move.