The <set>
header is one of the standard container template headers.
It declares the set
and multiset
class templates and a few global
function templates that operate on set
and multiset
objects.
A set is a container that stores keys. Looking up keys, inserting keys, and deleting keys can all be performed in logarithmic or better time. Sets support bidirectional iterators (not random access).
See Chapter 10 for information about containers.