News

Ok this is driving me mad. What is the correct (safe) way to remove an element from an STL map when iterating through the collection? It seems that removing an element invalidates the iterator ...