Same as the related overload above for moveInsertAndMoveToBack.

Synopsis

Declared in <bslalg_dequeprimitives.h>

template<class ALLOCATOR>
static
void
moveInsertAndMoveToBack(
    Iterator* toEnd,
    Iterator fromEnd,
    Iterator position,
    bslmf::MovableRef<VALUE_TYPE> value,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);

Parameters

Name

Description

toEnd

loads the end iterator after insertion

fromEnd

current end 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

Created with MrDocs