C++虚指针与vtbl。
摘要:
1 2 3 4 5 6 7 8 9 10 class A { public: virtual void print(){cout<<"This is A"<<endl;} }; class B : public A { public: void print(){cout<<"ThisisB"<<en 阅读全文
posted @ 2017-08-17 23:35 flyingwaters 阅读(1123) 评论(0) 推荐(0) 编辑