2009年2月23日

《Effective C++》读书笔记07:为多态基类声明virtual析构函数

摘要: 这个问题在实践中偶尔会碰到,设计一个TimeKeeper基类和一些派生类来记录时间: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 class TimeKeeper 2 { 3 public: 4 TimeKeeper(); 5 ... 阅读全文

posted @ 2009-02-23 14:19 月光笛手 阅读(1429) 评论(1) 推荐(1)

导航