摘要:
#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;} 阅读全文
posted @ 2014-04-12 20:28
sxcww
阅读(156)
评论(0)
推荐(0)

浙公网安备 33010602011771号