replace overloads
Synopses
Declared in <bdlc_queue.h>
Replace the element at dstIndex with the specified item.
void
replace(
int dstIndex,
T const& item);
Replace elements at dstIndex with elements from srcQueue.
Parameters
Name |
Description |
dstIndex |
index of the element to replace |
item |
replacement value |
srcQueue |
queue providing replacement values |
srcIndex |
first index in |
numElements |
number of elements to replace |
Created with MrDocs