BloombergLP::bslalg::DequePrimitives::emplaceAndMoveToFrontDispatch

emplaceAndMoveToFrontDispatch overloads

Synopses

Declared in <bslalg_dequeprimitives.h>

Emplace a value toward the front (bitwise-copyable dispatch).

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

Same as the related overload above for emplaceAndMoveToFrontDispatch.

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);
» more...

Same as the related overload above for emplaceAndMoveToFrontDispatch.

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

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