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

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

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

Parameters

Name

Description

toBegin

loads the beginning iterator after emplacement

fromBegin

current beginning of the deque

position

insertion position within the deque

allocator

allocator forwarded to the constructor when needed

traits

unused trait tag for overload resolution

arguments

constructor arguments forwarded to VALUE_TYPE

Created with MrDocs