[#bsl-vector-086-insert-03] = xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector<VALUE_TYPE*, ALLOCATOR>]::insert :relfileprefix: ../../ :mrdocs: Insert elements into this vector. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITER> xref:bsl/vector-086/iterator.adoc[iterator] insert( xref:bsl/vector-086/const_iterator.adoc[const_iterator] position, INPUT_ITER first, INPUT_ITER last); ---- == 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 | *first* | beginning of the range (inclusive) | *last* | end of the range (exclusive) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#