Priority-Queue Examples

Basic Use

  1. Basic use of priority queues.
  2. Splitting and joining priority queues.
  3. Conditionally erasing values from a container object.


  1. Using container_traits to query about underlying data structure behavior.

Cross Referencing

  1. Cross referencing an associative container and a priority queue.
  2. Cross referencing a vector and a priority queue using a very simple version of Dijkstra's shortest path algorithm.