Append elements from srcQueue starting at srcIndex to this queue.
Synopsis
Declared in <bdlc_queue.h>
void
append(
Queue const& srcQueue,
int srcIndex,
int numElements);
Description
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().
Parameters
Name |
Description |
srcQueue |
queue providing values to append |
srcIndex |
first index in |
numElements |
number of elements to append |
Created with MrDocs