![]() |
Home | Libraries | People | FAQ | More |
boost::move
// In header: <boost/move/algo/move.hpp> template<typename I, typename O> O move(I f, I l, O result);
Effects: Moves elements in the range [f,l) into the range [result,result + (l - f)) starting from f and proceeding to l. For each non-negative integer n < (l-f), performs *(result + n) = boost::move (*(f + n)).
Returns: result + (l - f).
Requires: result shall not be in the range [f,l).
Complexity: Exactly l - f move assignments.