BloombergLP::bdlcc::Queue::Queue

Create a queue of objects of parameterized TYPE with sufficient initial capacity to accommodate up to the specified numItems values without subsequent reallocation. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdlcc_queue.h>

explicit
Queue(
    InitialCapacity const& numItems,
    bslma::Allocator* basicAllocator = 0);