append overloads

Synopses

Declared in <bdlc_compactedarray.h>

Append to this array the elements from the specified srcArray.

void
append(CompactedArray const& srcArray);

Append to this array an element having the specified value.

void
append(TYPE const& value);

Append elements from srcArray starting at srcIndex to this array.

void
append(
    CompactedArray const& srcArray,
    std::size_t srcIndex,
    std::size_t numElements);

Parameters

Name

Description

srcArray

array whose elements are appended

value

value of the appended element

srcIndex

first index in srcArray to copy from

numElements

number of elements to append

Created with MrDocs