Move elements backward with std::memmove and update the iterators.
Declared in <bslalg_dequeprimitives.h>
static
void
moveBack(
Iterator* destination,
Iterator* source,
size_type numElements);
Move the specified numElements from the specified source to the specified destination using std::memmove. Also load into destination the value destination - numElements and source the value source - numElements. The behavior is undefined unless destination >= source.
| Name | Description |
|---|---|
| destination | destination iterator; updated to *destination - numElements |
| source | source iterator; updated to *source - numElements |
| numElements | number of elements to move |