BloombergLP::bdlc::BitArray::append

append overloads

Synopses

Declared in <bdlc_bitarray.h>

Append to this array the specified value. Note that this method has the same behavior as: ` insert(length(), value); `

void
append(bool value);
» more...

Append to this array the values from the specified srcArray. Note that this method has the same behavior as: ` insert(length(), srcArray); `

void
append(BitArray const& srcArray);
» more...

Append numBits copies of value to this array.

void
append(
    bool value,
    std::size_t numBits);
» more...

Append a bit range from srcArray to this array.

void
append(
    BitArray const& srcArray,
    std::size_t srcIndex,
    std::size_t numBits);
» more...

Parameters

NameDescription
valuebit value to append
srcArrayarray whose bits are appended
numBitsnumber of bits to append
srcIndexstarting index in srcArray