【STL】 19 函數對象基本概念

#include<iostream> #include<vector> #include<algorithm>  using namespace std; //函數對象  VS  普通函數  struct MyPrint01{          MyPrint01(){         mNum = 0;     }      void operator ()(int val){         
相關文章
相關標籤/搜索