BloombergLP::bslalg::DequePrimitives<VALUE_TYPE, 1>::uninitializedFillNBack

uninitializedFillNBack overloads

Synopses

Declared in <bslalg_dequeprimitives.h>

Append copies of a value to the back of an uninitialized deque range.

template<class ALLOCATOR>
static
void
uninitializedFillNBack(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    VALUE_TYPE const& value,
    ALLOCATOR allocator);
» more...

Same as the preceding uninitializedFillNBack overload (nil traits).

template<class ALLOCATOR>
static
void
uninitializedFillNBack(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    VALUE_TYPE const& value,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);
» more...

Same as the preceding uninitializedFillNBack overload (non-nil traits).

template<class ALLOCATOR>
static
void
uninitializedFillNBack(
    Iterator* toEnd,
    Iterator fromEnd,
    size_type numElements,
    VALUE_TYPE const& value,
    ALLOCATOR allocator,
    bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NON_NIL_TRAITS> traits);
» more...

Parameters

NameDescription
toEndloads the end iterator after appending
fromEndcurrent end of the deque
numElementsnumber of copies of value to append
valuevalue copied into each appended element
allocatorallocator passed to element constructors
traitsunused trait tag for overload resolution