Skip to main content
6 events
when toggle format what by license comment
Jun 13, 2020 at 18:00 comment added J. Doe good point! Thank you! :)
Jun 13, 2020 at 17:59 vote accept J. Doe
Jun 13, 2020 at 1:16 history edited pacmaninbw CC BY-SA 4.0
Removed suggestion to post on SO.
Jun 12, 2020 at 7:19 comment added ALX23z @J.Doe lookup reference for map::erase en.cppreference.com/w/cpp/container/map/erase it returns following iterator. What I wrote is basically from their example of use of erase.
Jun 12, 2020 at 1:59 comment added J. Doe @ALX23z, I am not sure it helps. If I don't it++ after erasing the element, I wouldn't be pointing to the next one in the next iteration of the inner while loop.
Jun 12, 2020 at 0:02 history answered ALX23z CC BY-SA 4.0