BloombergLP::bdlc::Queue::Queue

Create an in-place queue having the same value as original.

Synopsis

Declared in <bdlc_queue.h>

Queue(
    Queue const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create an in-place queue initialized to the value of the specified original queue. Optionally specify the basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalqueue providing the value to copy
basicAllocatormemory allocator; null uses the default