摘要: 转自:http://blog.csdn.net/kuaile123/article/details/11105115vector::erase误使用问题: 暂时使用经验: 不能在循环中使用,否则会报如题错误。2014/03/11更新:循环删除容器中符合条件的元素 《C++ Primer(Edit 5)》, P.349 Both forms of erasereturn an iterator referring to the location after the(last) element that was removed.That is, if j is the element fol... 阅读全文
posted @ 2014-03-10 08:59 Azor 阅读(1253) 评论(0) 推荐(0) 编辑