[#bsl-queue-0a5-2constructor-06]
= xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::queue
:relfileprefix: ../../
:mrdocs:

Create a queue having the value of the specified `original`&period; The allocator associated with `original` (if any) is propagated for use in the new queue&period; `original` is left in valid but unspecified state&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
queue(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;queue&gt;] container);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
