whats the return types of erase function?????
this is what the reference saysCode:
void erase( iterator pos );
void erase( iterator start, iterator end );
size_type erase( const key_type& key );
but in the book i'm reading it says that there's also a version which returns an iterator that points to the entry beyond the entry that was removed....
the book is Beginning Visual C++ 2008
im using Visual Studio 2005;
whats wrong here?