BloombergLP::bslalg::DequePrimitives::emplaceAndMoveToFrontDispatch

Same as the related overload above for emplaceAndMoveToFrontDispatch.

Synopsis

Declared in <bslalg_dequeprimitives.h>

template<
    class ALLOCATOR,
    class... Args>
static
void
emplaceAndMoveToFrontDispatch(
    Iterator* toBegin,
    Iterator fromBegin,
    Iterator position,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_BITWISE_MOVEABLE_TRAITS> traits,
    Args&&... arguments);

Parameters

NameDescription
toBeginloads the beginning iterator after emplacement
fromBegincurrent beginning of the deque
positioninsertion position within the deque
allocatorallocator forwarded to the constructor when needed
traitsunused trait tag for overload resolution
argumentsconstructor arguments forwarded to VALUE_TYPE