2015年7月31日

【effective c++读书笔记】【第2章】构造/析构/赋值运算(2)

摘要: 条款09:绝不在构造和析构过程中调用virtual函数例子:#include#includeusing namespace std;class Base{public: Base(){ test(); } virtual void test(){ cout << "Base test" << end... 阅读全文

posted @ 2015-07-31 15:46 ruan875417 阅读(150) 评论(0) 推荐(0) 编辑

导航