The erase() Member Function of Associative Containers
The associative containers std::map, std::multimap, std::set, and std::multiset have the following three overloaded forms of the member function erase(): class map // simplified for brevity{public://..other members void erase(iterator position); //