Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Reference
Constructors
Constructs a priority_queue that is empty or that is a copy of a range of a base container object or of other priority_queue. |
Typedefs
A type that provides the base container to be adapted by a priority_queue. |
|
An unsigned integer type that can represent the number of elements in a priority_queue. |
|
A type that represents the type of object stored as an element in a priority_queue. |
Member Functions
Tests if the priority_queue is empty. |
|
Removes the largest element of the priority_queue from the top position. |
|
Adds an element to the priority queue based on the priority of the element from operator<. |
|
Returns the number of elements in the priority_queue. |
|
Returns a const reference to the largest element at the top of the priority_queue. |