Answer by interjay for C++ containers' iterators
You can keep using the same iterator after insert or erase operations. The standard says (C++03 standard, Section 23.1.2, paragraph 8):The insert members shall not affect the validity of iterators and...
View ArticleC++ containers' iterators
This question may sounds lame, but I haven't found clear answer. Can I assume, that iterator returned by map's find() method will this points at the same data even if I'll add (or remove) other...
View Article