Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re:CS Newbie here. (Score 1) 1267

Of course, erase() invalidates iterator. That's one of the first things you read in documentation http://www.sgi.com/tech/stl/Map.html If you don't, it's your own fault. In C++ you can write exception-safe easier than in Java, because of RAII (http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization) concept.

Slashdot Top Deals

"What if" is a trademark of Hewlett Packard, so stop using it in your sentences without permission, or risk being sued.

Working...