文章目录 迭代器原理 迭代器的使用 实例 迭代器原理 包装的智能指针,重载了operator * operator-> 迭代器的使用 1. 遍历容器 vector<int> vi = { 1,2,3,4,5}; vector<int>::