摘要: 转自:http://www.cppblog.com/The-Moment/archive/2009/06/18/88023.html标准模板库(The Standard Template Library, STL)定义了五种迭代器。下面的图表画出了这几种: input output\/ forward| bidirectional| random access要注意,上面这图表并不是表明它们之间的继承关系:而只是描述了迭代器的种类和接口。处于图表下层的迭代器都是相对于处于图表上层迭代器的扩张集。例如:forward迭代器不但拥有input和output迭代器的所有功能,还拥有更多的功能。各个迭 阅读全文
posted @ 2012-02-25 15:20 素衣 阅读(99) 评论(0) 推荐(0)