BloombergLP::bdlc::BitArray::insert

Insert all bits from srcArray at dstIndex in this array.

Synopsis

Declared in <bdlc_bitarray.h>

void
insert(
    std::size_t dstIndex,
    BitArray const& srcArray);

Description

Insert into this array, beginning at the specified dstIndex, the values from the specified srcArray. All values with indices at or above dstIndex in this array are shifted up by srcArray.length() bit positions. The behavior is undefined unless dstIndex <= length().

Parameters

NameDescription
dstIndexindex at which to insert
srcArrayarray whose bits are inserted