(原創) 为什么说iterator是left inclusive? (C/C++) (STL)
摘要:
因为c.begin()是第一个element,但c.end()并不是最后一个element,而是one past the end,所以c.end()并不是iterator.若以符号表示,则是 [first,last)the range begin with first and ends with, but not include, last.Reference C++ Primer 4th P.3... 阅读全文
posted @ 2006-11-15 23:20 真 OO无双 阅读(435) 评论(0) 推荐(0)