Quick Links: |
#include <bdlcc_queue.h>
Public Member Functions | |
InitialCapacity (int i) | |
Public Attributes | |
unsigned int | d_i |
Enable uniform use of an optional integral constructor argument to specify the initial internal capacity (in items). For example,
const Queue<int>::InitialCapacity NUM_ITEMS(8));
Queue<int> x(NUM_ITEMS);
defines an instance x
with an initial capacity of 8 items, but with a logical length of 0 items.
bdlcc::Queue< TYPE >::InitialCapacity::InitialCapacity | ( | int | i | ) | [inline, explicit] |
< Create an object with the specified value i
.
unsigned int bdlcc::Queue< TYPE >::InitialCapacity::d_i |