append overloads
Synopses
Declared in <bdlc_compactedarray.h>
Append to this array the elements from the specified srcArray. Note that if this array and srcArray are the same, the behavior is as if a copy of srcArray were passed.
void
append(CompactedArray const& srcArray);
Append to this array an element having the specified value. Note that this method is logically equivalent to: ` push_back(value); `
void
append(TYPE const& value);
Append to this array the specified numElements starting at the specified srcIndex in the specified srcArray. 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(
CompactedArray const& srcArray,
std::size_t srcIndex,
std::size_t numElements);
Created with MrDocs