(原創) 为什么说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.314