Same as the preceding overload.

Synopsis

Declared in <bslalg_dequeprimitives.h>

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);

Parameters

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

Created with MrDocs