map.erase in c++

C++
it=mymap.find('b');
mymap.erase (it);                   // erasing by iterator
mymap.erase ('c');                  // erasing by key
Source

Also in C++: