[#bsl-queue-0a5-2constructor-0b] = xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::queue :relfileprefix: ../../ :mrdocs: Create a queue from `[first, last)]` using `allocator`. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class INPUT_ITER, class ALLOCATOR> queue( INPUT_ITER first, INPUT_ITER last, ALLOCATOR const& allocator) requires bsl::uses_allocator<CONTAINER, ALLOCATOR>::value; ---- == Description Same as the preceding overload. == Parameters [cols="1,4"] |=== | Name| Description | *first* | beginning of the range of elements to insert | *last* | end of the range of elements to insert | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#