[#BloombergLP-bslalg-DequePrimitives-01-uninitializedFillNFront]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives-01.adoc[DequePrimitives]::uninitializedFillNFront
:relfileprefix: ../../../
:mrdocs:

Prepend the specified `numElements` copies of the specified `value` to the deque starting at the specified `fromBegin` iterator, passing the specified `allocator` through to the new elements, and load into the specified `toBegin` an iterator pointing to the end of the data after prepending, i&period;e&period;, `fromBegin &hyphen; numElements`&period; The behavior is undefined unless `fromBegin &hyphen; numElements` is a valid iterator (i&period;e&period;, the block pointer array holds enough room before the `fromBegin` position to insert `numElements`)&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;dequeprimitives&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&gt;
static
void
uninitializedFillNFront(
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator]* toBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] fromBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/size_type.adoc[size&lowbar;type] numElements,
    VALUE&lowbar;TYPE const& value,
    ALLOCATOR allocator);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
