[#bsl-Deque_BlockCreator-insertAtFront]
= xref:bsl.adoc[bsl]::xref:bsl/Deque_BlockCreator.adoc[Deque&lowbar;BlockCreator]::insertAtFront
:relfileprefix: ../../
:mrdocs:

Allocate the specified `n` blocks at the front of the block array&period; This method invalidates all iterators except `d&lowbar;deque&lowbar;p&hyphen;&gt;d&lowbar;start` and `d&lowbar;deque&lowbar;p&hyphen;&gt;d&lowbar;finish`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
insertAtFront(xref:bsl/Deque_BlockCreator.adoc[size&lowbar;type] n);
----


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