`
zhava
  • 浏览: 4840 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

C++ STL学习

阅读更多
和iterator有关:
for_each(first_it,last_it,fun),用来做循环
binary_function,ptr_fun,用来适配全局函数
mem_fun用来适配类的成员函数
bind1st,bind2nd用来绑定参数

ostream_iterator
copy(first_it,last_it,std::ostream_iterator<int> (cout,"\n"));
0
11
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics