title: What is the correct way to erase the last inserted element of a map without c++11?
body: <p>The question is self-explanatory. But to complement suppose: <code>map&lt;int,int&gt;</code> with at least 10 inserted elements. What is the correct way to delete the last inserted element?</p>
  
  <p>By the last element inserted I mean, not the last element of the map, but the element that I inserted the last time I inserted an element.</p>