[#absl-chunked_queue-2constructor-09]
= xref:absl.adoc[absl]::xref:absl/chunked_queue.adoc[chunked&lowbar;queue]::chunked&lowbar;queue
:relfileprefix: ../../
:mrdocs:

Constructs a queue with the contents of the range &lsqb;first, last)&period;&rsqb;

== Synopsis

Declared in `&lt;absl&sol;container&sol;chunked&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Iter&gt;
requires base&lowbar;internal&colon;&colon;IsAtLeastInputIterator&lt;Iter&gt;&colon;&colon;value
chunked&lowbar;queue(
    Iter first,
    Iter last,
    xref:absl/chunked_queue/allocator_type.adoc[allocator&lowbar;type] const& alloc = allocator&lowbar;type());
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| An iterator to the beginning of the range&period;
| *last*
| An iterator past the end of the range&period;
| *alloc*
| The allocator to use&period;
|===


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