【STL】 19 函数对象基本概念

#include<iostream> #include<vector> #include<algorithm>  using namespace std; //函数对象  VS  普通函数  struct MyPrint01{          MyPrint01(){         mNum = 0;     }      void operator ()(int val){         
相关文章
相关标签/搜索