摘要:
#include "iostream"using namespace std;template struct plus{ T operator()(const T& a,const T& b) const {return a+b;}};int _tmain(int argc, _TCHAR* argv[]){ int a=122; int b=1213; plus plusobj; cout()(a,b)<<endl; system("pause"); return 0;} 阅读全文