Create a queue having the same sequence of values as the specified container. The queue object uses the specified basicAllocator to obtain 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(
CONTAINER const& container,
ALLOCATOR const& basicAllocator,
ALLOCATOR* = 0)
requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value;
Created with MrDocs