[#bsl-vector-086-insert-0d]
= xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector&lt;VALUE&lowbar;TYPE*, ALLOCATOR&gt;]::insert
:relfileprefix: ../../
:mrdocs:

Insert elements into this vector&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-086/iterator.adoc[vector&lt;VALUE&lowbar;TYPE*, ALLOCATOR&gt;::iterator]
insert(
    xref:bsl/vector-086/const_iterator.adoc[const&lowbar;iterator] position,
    VALUE&lowbar;TYPE* value);
----

== Return Value

iterator referring to the first newly inserted element, or `position` if none

== Parameters

[cols="1,4"]
|===
| Name| Description
| *position*
| element position or insertion point
| *value*
| element value
|===


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