[#bitdeque-insert-06]
= xref:bitdeque.adoc[bitdeque]::insert
:relfileprefix: ../
:mrdocs:

Insert the bits in &lsqb;first,last) before the given position&period;&rsqb;

== Synopsis

Declared in `&lt;util&sol;bitdeque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename It&gt;
xref:bitdeque/iterator-05.adoc[iterator]
insert(
    xref:bitdeque/const_iterator.adoc[const&lowbar;iterator] pos,
    It first,
    It last);
----

== Return Value

Iterator to the first inserted bit&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| Iterator before which the bits are inserted&period;
| *first*
| Iterator to the first bit to insert&period;
| *last*
| Iterator past the last bit to insert&period;
|===


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