append overloads

Synopses

Declared in <bdlc_packedintarray.h>

Append an element having the specified value to the end of this array.

void
append(int value);

Append the sequence of values represented by the specified srcArray to the end of this array. Note that if this array and srcArray are the same, the behavior is as if a copy of srcArray were passed.

void
append(PackedIntArray<int> const& srcArray);

Append the sequence of values of the specified numElements starting at the specified srcIndex in the specified srcArray to the end of this array. The behavior is undefined unless srcIndex + numElements <= srcArray.length(). Note that if this array and srcArray are the same, the behavior is as if a copy of srcArray were passed.

void
append(
    PackedIntArray<int> const& srcArray,
    std::size_t srcIndex,
    std::size_t numElements);

Created with MrDocs