BloombergLP::bslalg::DequePrimitives::moveInsertAndMoveToBack

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

NameDescription
toEndloads the end iterator after insertion
fromEndcurrent end of the deque
positioninsertion position within the deque
valuemove-insertable value to place at position
allocatorallocator passed to the move constructor
traitsunused trait tag for overload resolution