Move Ranges

In C++, we can move data from one range to another.

std::move moves the ranges forward; std::move_backward moves the ranges backwards.

move: moves the elements in the range first to last to the range starting from result.

Get hands-on with 1400+ tech skills courses.