c++笔记:STL容器迭代器失效场景 stl迭代器失效场景 c++ CheatSheet (完整版见下面 Ref1 or cppref) note: 顺序型容器 deque插入or删除操作会导致迭代器失效.
c++笔记:STL相关 c++ this is a post of misc items of stl. behavior of operator[] of vector and map: auto in for-statement: