因为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.314

相关文章: