【发布时间】:2012-05-08 19:05:45
【问题描述】:
class foo : public virtual bar, public virtual kung
{
// implementation of the method of the above inherited class
};
bar and kung 类是一个抽象类,它包含在 foo 类内部实现的纯虚方法。
这个有什么用?
【问题讨论】:
-
我相信有 很多 篇文章都在讨论这个问题。