摘要: 原文:http://www.cppblog.com/mzty/archive/2007/03/14/19819.htmlSTL算法学习,小结如下:前提:下载stl源码: http://www.sgi.com/tech/stl/download.html打开网页:http://www.sgi.com/tech/stl/stl_index.html一 函数对象: 因为很多的算法中多使用了函数对象二元函数对象,V1和V2为输入,V3为结果plus<T>: transform(V1.begin(), V1.end(), V2.begin(), V3.begin(),plus<doub 阅读全文
posted @ 2012-08-24 09:13 Leo Forest 阅读(188) 评论(0) 推荐(0) 编辑