setLength overloads
Declared in <bdlc_queue.h>
Set the length of this queue to the specified newLength.
void
setLength(int newLength);
» more...
Set the length of this queue, initializing new elements to initialValue.
void
setLength(
int newLength,
T const& initialValue);
» more...
| Name | Description |
|---|---|
| newLength | desired length of this queue |
| initialValue | value used to initialize new elements |