[#BloombergLP-bdlc-PackedIntArrayImp-0a-insert-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp]::insert :relfileprefix: ../../../ :mrdocs: Insert into this array, at the specified `dstIndex`, the sequence of values represented by the specified `srcArray`, shifting any elements originally at or above `dstIndex` up by `srcArray.length()` indices higher. The behavior is undefined unless `dstIndex <= length()`. Note that if this array and `srcArray` are the same, the behavior is as if a copy of `srcArray` were passed. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void insert( std::size_t dstIndex, xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp] const& srcArray); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#