摘要: 1 当我们以面向对象的观点进入template C ++ 时,继承就表现的和以前不同了C ++ 编译器不进入template base class 观察,解决方式有3种:this->using 声明式明确的支出被调用的函数是属于base类的item 43 的例子#include <iostream>using namespace std;class companyA{ public: void sendCleartext(const string &msg); void sendEncrypted(const string &msg);};void compa 阅读全文
posted @ 2011-08-28 11:33 wtx 阅读(532) 评论(0) 推荐(0) 编辑