发布时间:2014-04-22 16:11:48
STL容器迭代器在何时会失效:(以下内容摘自C++ 98 ISO标准)1. vector<T>::iterator[23.2.4.3] vector modifiersiterator insert(iterator position, const T& x);void insert(iterator position, size_type n, const T& x);template <class InputIterator> void insert(iterator position, InputIt.........【阅读全文】