<map> erase



What is wrong with this syntax ?

MyMapIter	x;

x = m_pMap -> begin ();

x = m_pMap -> erase (x); // syntax error

(gcc)
.


Loading