[#bsl-priority_queue-0432]
= xref:bsl.adoc[bsl]::xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;t&lowbar;TYPE, vector&lt;t&lowbar;TYPE&gt;, t&lowbar;COMPARATOR&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the template parameters `VALUE` and `COMPARATOR` from the parameters supplied to the constructor of `priority&lowbar;queue`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    ranges::input&lowbar;range t&lowbar;RANGE,
    class t&lowbar;COMPARATOR = std::less&lt;ranges::range&lowbar;value&lowbar;t&lt;t&lowbar;RANGE&gt;&gt;,
    class t&lowbar;TYPE = ranges::range&lowbar;value&lowbar;t&lt;t&lowbar;RANGE&gt;&gt;
requires !IsStdAllocator&lowbar;v&lt;t&lowbar;COMPARATOR&gt;
xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;t&lowbar;TYPE, vector&lt;t&lowbar;TYPE&gt;, t&lowbar;COMPARATOR&gt;](
    std::from&lowbar;range&lowbar;t,
    t&lowbar;RANGE&&,
    t&lowbar;COMPARATOR) -> xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;t&lowbar;TYPE, vector&lt;t&lowbar;TYPE&gt;, t&lowbar;COMPARATOR&gt;];
----


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