BloombergLP::bdlcc::Queue::Queue

Create a queue of objects of parameterized TYPE having either the specified highWaterMark suggested maximum length if highWaterMark is positive, or no maximum length if highWaterMark is negative. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless highWaterMark != 0.

Synopsis

Declared in <bdlcc_queue.h>

explicit
Queue(
    int highWaterMark,
    bslma::Allocator* basicAllocator = 0);