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

Create a queue from `range` using `allocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;RANGE,
    class t&lowbar;ALLOCATOR&gt;
queue(
    std::from&lowbar;range&lowbar;t unused,
    t&lowbar;RANGE&& range,
    t&lowbar;ALLOCATOR const& allocator)
requires bsl&colon;&colon;uses&lowbar;allocator&lt;CONTAINER,t&lowbar;ALLOCATOR&gt;&colon;&colon;value;
----

== Description

Same as the preceding overload&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *unused*
| tag selecting the from&hyphen;range constructor overload
| *range*
| input range of elements to insert
| *allocator*
| allocator used to supply memory
|===


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