Original Post
It could be void: http://www.sgi.com/tech/stl/Map.html or it could be std::map< >::iterator: http://www.dinkumware.com/manuals/default.aspx?manual=compleat&page=map.html#map::erase I thought the point of a standard was to make it possible to write code once and compile anywhere, but that doesn't work with this function, as the top one seems to be used by GCC, and the bottom version is used in Visual Studio.