Issues of Iterator Invalidation
What we must pay attention to when using iterators
Issues of Iterator Invalidation
When using iterators, we need to pay attention to the validation of them. In some cases, the iterator may turns invalid, which is not easy to notice.
For example, ...