2015年3月31日
摘要: 在使用stl中的vector时,1、遍历其中的数据并同时进行修改的情况下,稍不留神,就会出现"vector iterators incompatible !"。比如下面这段代码:vector list;for(vector::iterator it = list.begin(); it != lis... 阅读全文
posted @ 2015-03-31 18:24 图森破 阅读(146) 评论(0) 推荐(0)