C++ standard library provides a priority queue with priority_queue
. But does it also provide a priority stack ? I looked for priority_stack
but did not find anything.
In c++, the standard template library (STL) provides a priority_queue. See for example priority_queue. The STL does not provide a priority_stack container.