Insert the specified srcQueue into this queue at dstIndex.
Synopsis
Declared in <bdlc_queue.h>
void
insert(
int dstIndex,
Queue const& srcQueue);
Description
Insert the specified srcQueue into this queue at the specified dstIndex. All current values with indices at or above dstIndex are shifted up by srcQueue.length() index positions. The behavior is undefined unless 0 <= dstIndex <= length().
Parameters
Name |
Description |
dstIndex |
index at which to insert |
srcQueue |
queue whose elements are inserted |
Created with MrDocs