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);

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);

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

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

Append to this array the specified numBits from the specified srcArray, beginning at the specified srcIndex. The behavior is undefined unless srcIndex + numBits <= srcArray.length(). Note that this method has the same behavior as: ` insert(length(), srcArray, srcIndex, numBits); `

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

Created with MrDocs