moveInsertAndMoveToFront overloads
Declared in <bslalg_dequeprimitives.h>
Move-insert a value, shifting existing elements toward the front.
template<class ALLOCATOR>
static
void
moveInsertAndMoveToFront(
Iterator* toBegin,
Iterator fromBegin,
Iterator position,
bslmf::MovableRef<VALUE_TYPE> value,
ALLOCATOR allocator);
» more...
Move-insert a value toward the front (bitwise-copyable).
template<class ALLOCATOR>
static
void
moveInsertAndMoveToFront(
Iterator* toBegin,
Iterator fromBegin,
Iterator position,
bslmf::MovableRef<VALUE_TYPE> value,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_BITWISE_COPYABLE_TRAITS> traits);
» more...
Same as the related overload above for moveInsertAndMoveToFront.
template<class ALLOCATOR>
static
void
moveInsertAndMoveToFront(
Iterator* toBegin,
Iterator fromBegin,
Iterator position,
bslmf::MovableRef<VALUE_TYPE> value,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_BITWISE_MOVEABLE_TRAITS> traits);
» more...
Same as the preceding overload.
template<class ALLOCATOR>
static
void
moveInsertAndMoveToFront(
Iterator* toBegin,
Iterator fromBegin,
Iterator position,
bslmf::MovableRef<VALUE_TYPE> value,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);
» more...
| Name | Description |
|---|---|
| toBegin | loads the beginning iterator after insertion |
| fromBegin | current beginning of the deque |
| position | insertion position within the deque |
| value | move-insertable value to place at position |
| allocator | allocator passed to the move constructor |
| traits | unused trait tag for overload resolution |