72
Sets
•
A set is like a map, with the difference that in a
set an element is its own key.
There is no
separate key object, and only the element is
stored in the container.
•
Ordered sets are often useful for implementing
a priority queue.