C++ Language/Std/Stl/CollectionClasses/SortedCollections/Map/RemovingItems
Appearance
The erase()
function removes an item from a map.
You can give erase()
either an iterator, or the key of the item that you want removed.
Additional information about removing items from a map (includes interactive examples)