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 numBits copies of value to this array.

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

Append a bit range from srcArray to this array.

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

Parameters

Name

Description

value

bit value to append

srcArray

array whose bits are appended

numBits

number of bits to append

srcIndex

starting index in srcArray

Created with MrDocs