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

Remove the top element from this `priority&lowbar;queue` object that has the highest priority&period; In effect, performs `c&period;pop&lowbar;back()&semi;`&period; The behavior is undefined if there is currently no elements in this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
pop();
----


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