[#BloombergLP-bdlc-PackedIntArrayImp-02-insert-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-02.adoc[PackedIntArrayImp<PackedIntArrayImp_Unsigned>]::insert :relfileprefix: ../../../ :mrdocs: Insert into this array, at the specified `dstIndex`, the specified `numElements` values in the specified `srcArray` starting at the specified `srcIndex`. Elements greater than or equal to `dstIndex` are shifted up `numElements` positions. The behavior is undefined unless `dstIndex <= length()` and `srcIndex + numElements <= srcArray.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<PackedIntArrayImp_Unsigned>] const& srcArray, std::size_t srcIndex, std::size_t numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#