C++ Language/Std/Stl/CollectionClasses/SortedCollections/Set

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A "set" (an instance of class std::set<>) is the same as a map, except that each item contains only the key (there is no value).

Additional information about sets (includes interactive examples)