411 REFERENCE · Wikibooks
C++ Language/Std/Stl/CollectionClasses/SortedCollections/Map/RemovingItems
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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)