
17 Apr
2008
17 Apr
'08
9:42 a.m.
Hi Oliver, Kowalke Oliver (QD IT PA AS) escribió:
Hello, become iterators of an ordered_non_unique index invalidated if I call:
iterator erase(iterator position)?
Or are all other iterators still valid and point to the same item as before?
All iterators except those pointing to the deleted element will remain valid and pointing to whatever they were pointing before deletion. This is true of all types of indices, not only ordered ones. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo