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

Name

Description

original

queue providing the value to copy

basicAllocator

memory allocator; null uses the default

Created with MrDocs