C++ Priority Queues [C++ Reference]
Keywords: stl,priority_queue,start
Date: 2010-01-16T11:05:21-0800

[[C++ Priority Queues]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

# C++ Priority Queues

C++ Priority Queues are like queues, but the elements inside the queue are ordered by some predicate.

Constructors | construct a new priority queue
empty | true if the priority queue has no elements
pop | removes the top element of a priority queue
push | inserts an element into the priority queue
size | returns the number of items in the priority queue
top | returns the top element of the priority queue

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •