Quantcast
Channel: C++ containers' iterators - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



C++ 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
Browsing all 2 articles
Browse latest View live


Latest Images