[#bsl-queue-0a5-2constructor-0fc5] = xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::queue :relfileprefix: ../../ :mrdocs: Create a queue from the elements of the specifed `range`. Optionally specify an `allocator` used to supply memory. If `allocator` is not specified, a default‐constructed object of the (template parameter) type `t_ALLOCATOR` is used. Note that `range` must meet the requirements of an input range and the values from `range` must have a type matching or convertible to (template parameter) `VALUE`. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_RANGE> queue( std::from_range_t, t_RANGE&& range); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#