[#BloombergLP-bdlc-PackedIntArray-08-insert-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-08.adoc[PackedIntArray<int>]::insert :relfileprefix: ../../../ :mrdocs: Insert into this array, at the specified `dstIndex`, an element having the specified `value`, shifting any elements originally at or above `dstIndex` up by one. The behavior is undefined unless `dstIndex <= length()`. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void insert( std::size_t dstIndex, int value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#