valueInititalizeN overloads

Synopses

Declared in <bslalg_dequeprimitives.h>

Append value‐initialized elements to the back of a deque.

template<class ALLOCATOR>
static
void
valueInititalizeN(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    ALLOCATOR allocator);

Same as the preceding valueInititalizeN overload (nil traits).

template<class ALLOCATOR>
static
void
valueInititalizeN(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);

Same as the preceding valueInititalizeN overload (non‐nil traits).

template<class ALLOCATOR>
static
void
valueInititalizeN(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NON_NIL_TRAITS> traits);

Parameters

Name

Description

toEnd

loads the end iterator after appending

fromEnd

current end of the deque

numElements

number of value‐initialized elements to append

allocator

allocator passed to element constructors

traits

unused trait tag for overload resolution

Created with MrDocs