[#bsl-queue-0a5-2constructor-0fcd] = xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::queue :relfileprefix: ../../ :mrdocs: Create a queue passing the specified `first` and `last` to the constructor of the underlying container. Optionally specify an `allocator` used to supply memory. If `allocator` is not specified, a default‐constructed object of the (template parameter) type `ALLOCATOR` is used. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITER> queue( INPUT_ITER first, INPUT_ITER last); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#