Glossary: Data Structures and Algorithms in C++
Priority queue
Also written: priority queues, std::priority_queue
A queue that serves the most urgent item first, regardless of arrival order. std::priority_queue wraps a heap with push, top and pop.
Glossary: Data Structures and Algorithms in C++
Also written: priority queues, std::priority_queue
A queue that serves the most urgent item first, regardless of arrival order. std::priority_queue wraps a heap with push, top and pop.