[#bsl-priority_queue-034-2constructor-0aa]
= xref:bsl.adoc[bsl]::xref:bsl/priority_queue-034.adoc[priority&lowbar;queue]::priority&lowbar;queue
:relfileprefix: ../../
:mrdocs:

Create an empty priority queue, adapting a default&hyphen;constructed container of the (template parameter) type `CONTAINER`, and having the specified `comparator` of the (template parameter) type `COMPARATOR` to order elements in the priority queue&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
priority&lowbar;queue(COMPARATOR const& comparator);
----


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