#include <iostream>
#include <list>
using namespace std; typedef list<int> IntegerList;
int main()
{
IntegerList intList;
for (int i = 1; i <= 10; ++i)
intList.push_back(i * 2);
for (IntegerList::const_iterator ci = intList.begin(); ci != intList.end(); ++ci)
cout << *ci << " " << endl;
return 0;
}

遍历器对各种运算符进行重载  

最新文章

  1. 消耗战 bzoj 2286
  2. linux中的基础正则表达式
  3. JSP 相关试题(二)
  4. Effective c++ 小结
  5. 车牌识别--S5PV210測试
  6. HDU 5656 CA Loves GCD (数论DP)
  7. Python的文件与文件夹操作
  8. HTML5 格式化、样式、链接、表格
  9. IE低版本下实现html5的placeholder(表单提示)功能
  10. QML中的ExclusiveGroup
  11. iOS集成友盟推送
  12. pymongo 操作
  13. Linux上静态库和动态库的编译和使用
  14. Integer与int的区别(转)
  15. 《Python》进程收尾线程初识
  16. [Android] 使用ViewPager 实现导航
  17. day 69crm(6) stark组件 action 和 多层过滤效果
  18. C++编译器符号表有哪些内容?
  19. [图解tensorflow源码] Session::Run()流程图 (单机版)
  20. CF373C-Counting Kangaroos is Fun

热门文章

  1. Android笔记之 图片自由裁剪
  2. python:部分内置函数与匿名函数
  3. OpenMP使用体验报告(概述)
  4. 【luogu P3901 数列找不同】 题解
  5. Javascript 基础汇总
  6. linux多线程编程基本操作(2)
  7. Unicode转化为汉字
  8. mysql if...else 的使用
  9. 浅谈箭头函数和setTimeout中的this
  10. 编写可维护的JavaScript之编程风格