Container‐based version of the <algorithm> std::move_backward() function to move a container's elements into an iterator in reverse order.
Synopsis
Declared in <absl/algorithm/container.h>
template<
typename C,
typename BidirectionalIterator>
constexpr
BidirectionalIterator
c_move_backward(
C&& src,
BidirectionalIterator dest);
Return Value
An iterator to the beginning of the moved range in the destination.
Parameters
Name |
Description |
src |
The container whose elements to move. |
dest |
An iterator past the end of the destination range. |
Created with MrDocs