[#bsl-priority_queue-0e]
= xref:bsl.adoc[bsl]::xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;CONTAINER::value&lowbar;type, CONTAINER, COMPARATOR&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the template parameter `VALUE` and `CONTAINER` 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;
    class COMPARATOR,
    class CONTAINER&gt;
requires !bsl&colon;&colon;IsStdAllocator&lowbar;v&lt;CONTAINER&gt;
xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;CONTAINER::value&lowbar;type, CONTAINER, COMPARATOR&gt;](
    COMPARATOR,
    CONTAINER) -> xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;CONTAINER::value&lowbar;type, CONTAINER, COMPARATOR&gt;];
----


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