[#bsl-vector-086-insert-0f] = 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"] ---- xref:bsl/vector-086/iterator.adoc[vector<VALUE_TYPE*, ALLOCATOR>::iterator] insert( xref:bsl/vector-086/const_iterator.adoc[const_iterator] position, xref:bsl/vector-086/size_type.adoc[size_type] numElements, VALUE_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 | *numElements* | number of elements to insert or assign | *value* | element value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#