std::priority_queue::pop – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
Removes the top element from the priority queue. Effectively calls std::pop_heap(c.begin(), c.end(), comp); c.pop_back();
Parameter
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Rückgabewert
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Komplexität
Logarithmic number of comparisons plus the complexity of Container::pop_back.
Siehe auch
| constructs element in-place and sorts the underlying container (öffentliche Elementfunktion) [edit] | |
| inserts element and sorts the underlying container (öffentliche Elementfunktion) [edit] | |