探索多重继承的内存布局classBase1{public:virtualvoidfunc1(){cout<<"Base1::func1"<<endl;}virtualvoidfunc2(){cout<<"Base1::func2"<<endl;}private:intb1;};classBase2{public:virtualvoidfunc1(){cout<<"Base2::func1"<<endl;}virtua..
分类:
其他好文 时间:
2015-09-20 07:03:27
阅读次数:
146