摘要:
在The C++ Standard Libray, A Tutorial and Reference 中,讲到vector时,有这样的一个section "The Increment and Decrement Problem of Vector Iterators",
原文如下:
The use of the increment and decrement operators of iterators includesa strange problem. In
general, you can increment and decrement temporary iterators. However, for vectors and strings,
you typically can't. Consider the following vector example:
std::vector coll;
... 阅读全文
posted @ 2013-03-15 12:09
祖卡
阅读(543)
评论(0)
推荐(0)