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

Prepend copies of a value to the front of an uninitialized deque range.

Synopsis

Declared in <bslalg_dequeprimitives.h>

template<class ALLOCATOR>
static
void
uninitializedFillNFront(
    Iterator* toBegin,
    Iterator fromBegin,
    size_type numElements,
    VALUE_TYPE const& value,
    ALLOCATOR allocator);

Parameters

NameDescription
toBeginloads the beginning iterator after prepending
fromBegincurrent beginning of the deque
numElementsnumber of copies of value to prepend
valuevalue copied into each prepended element
allocatorallocator passed to element constructors