Append elements from srcQueue starting at srcIndex to this queue.
Declared in <bdlc_queue.h>
void
append(
Queue const& srcQueue,
int srcIndex,
int numElements);
Append to the end of this queue the specified numElements value in the specified srcQueue starting at the specified index position srcIndex. Note that this function is logically equivalent to: ` insert(length(), srcQueue, srcIndex, numElements); ` The behavior is undefined unless 0 <= srcIndex, 0 <= numElements, and srcIndex + numElements <= srcQueue.length().
| Name | Description |
|---|---|
| srcQueue | queue providing values to append |
| srcIndex | first index in srcQueue to copy from |
| numElements | number of elements to append |