c++学习---迭代器

 

迭代器类型:

begin和end的返回值的类型由对象是否为常量所决定

 无论对象是都为常量,cbegin和cend都将都到一个const_iterator

 

posted @ 2018-07-06 18:31  confusion  阅读(134)  评论(0编辑  收藏  举报