insert overloads
Declared in <bdlc_queue.h>
Insert the specified srcQueue into this queue at dstIndex.
void
insert(
int dstIndex,
Queue const& srcQueue);
» more...
Insert the specified item into this queue at dstIndex.
void
insert(
int dstIndex,
T const& item);
» more...
Insert elements from srcQueue into this queue at dstIndex.
void
insert(
int dstIndex,
Queue const& srcQueue,
int srcIndex,
int numElements);
» more...
| Name | Description |
|---|---|
| dstIndex | index at which to insert |
| srcQueue | queue whose elements are inserted |
| item | value to insert |
| srcIndex | first index in srcQueue to copy from |
| numElements | number of elements to insert |