摘要: Template#include <iostream>using namespace std;template < typename TClassType >class TClass {public: template < typename TFuncType > TClass( TClassType var1, TFuncType var2) { mVar = var1 * var2; } template < typename TFuncType > TClass( TClassType var1, TFuncType var2, TFunc 阅读全文
posted @ 2011-05-13 15:45 soulnearby 阅读(132) 评论(0) 推荐(0) 编辑