[#bsl-queue-0a5-2constructor-056] = xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::queue :relfileprefix: ../../ :mrdocs: Create a queue having the value of the specified `original` (on entry), that uses `basicAllocator` to supply memory. The allocator‐extended move constructor of `CONTAINER` is used to create the new queue. `original` is left in a valid but unspecified state. Note that a `bslma::Allocator *` can be supplied for `basicAllocator` if the (template parameter) `ALLOCATOR` is `bsl::allocator` (the default). Also note that this method assumes that `CONTAINER` has a move constructor. Also note that if `CONTAINER::allocator_type` does not exist, this constructor is disabled. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> queue( xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<queue>] original, ALLOCATOR const& basicAllocator, ALLOCATOR* = 0) requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#