bsl::queue::queue

Create a queue having the value of the specified original that will use the specified basicAllocator to supply memory. Note that the ALLOCATOR parameter type has to be convertible to the allocator of the CONTAINER parameter type, CONTAINER::allocator_type. Otherwise this constructor is disabled.

Synopsis

Declared in <bslstl_queue.h>

template<class ALLOCATOR>
queue(
    queue const& original,
    ALLOCATOR const& basicAllocator,
    ALLOCATOR* = 0)
requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value;