Insert into this array, at the specified dstIndex, the elements from the specified srcArray, shifting any elements originally at or above dstIndex up by srcArray.length() index positions. 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.
Declared in <bdlc_compactedarray.h>
void
insert(
std::size_t dstIndex,
CompactedArray const& srcArray);