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