why pure virtual function has definition 为什么可以在基类中实现纯虚函数
摘要:
看了会音频,无意搜到一个frameworks/base/include/utils/Flattenable.h : virtual ~Flattenable() = 0;所以查了下“纯虚函数定义实现”,下文讲的非常好:引述自:http://forums.codeguru.com/showthread.php?356281-C-why-pure-virtual-function-has-definition-Please-look-into-sample-code-hereQuestion C++: why pure virtual function has definition?Please 阅读全文
posted @ 2013-06-17 19:30 阿加 阅读(816) 评论(0) 推荐(1) 编辑