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