Yes, this is correct. The iterator was not "incremented" anywhere behind the scene - it's just that when the current item was removed, the next one leaped into its place, thus the iterator started pointing to the next object.
Yes, this is correct. The iterator was not "incremented" anywhere behind the scene - it's just that when the current item was removed, the next one leaped into its place, thus the iterator started pointing to the next object.
Bookmarks