BloombergLP::bdlc::CompactedArray::replace

Change the values of the specified numElements starting at the specified dstIndex in this array to those of the numElements starting at the specified srcIndex in the specified srcArray. The behavior is undefined unless srcIndex + numElements <= srcArray.length() and dstIndex + numElements <= 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_compactedarray.h>

void
replace(
    std::size_t dstIndex,
    CompactedArray const& srcArray,
    std::size_t srcIndex,
    std::size_t numElements);