setLength overloads

Synopses

Declared in <bdlc_queue.h>

Set the length of this queue to the specified newLength.

void
setLength(int newLength);

Set the length of this queue, initializing new elements to initialValue.

void
setLength(
    int newLength,
    T const& initialValue);

Parameters

Name

Description

newLength

desired length of this queue

initialValue

value used to initialize new elements

Created with MrDocs