Problem with Map Iterator

John Love-Jensen eljay@adobe.com
Mon May 15 13:46:00 GMT 2006


Hi Aseem,

> Not all. Only the one pointed to by the iterator.

I stand corrected.  Thanks.

Sincerely,
--Eljay

vector
all vector iterators are invalidated on any change

string & wstring
all string iterators are invalidated on any change

deque
all deque iterators are invalidated on any change, except for beginning and
end removals

list
no list iterators are invalidated, except for those referring to a deleted
element

set & multiset
no iterators are invalidated except ones pointing to a removed element

map & multimap
no iterators are invalidated except ones pointed to a removed element



More information about the Gcc-help mailing list