我有基于另一个接口:
class IDrawable {
public:
virtual ~IDrawable();
};
class IExtendedDrawable: public IDrawable {
public:
virtual ~IExtendedDrawable();
};
class DrawableImplementation: public IDrawable {
public:
virtual ~DrawableImplementation();
};
class ExtendedDrawableImplementation:
public DrawableImplementation, public IExtendedDrawable
{
public:
virtual ~ExtendedDrawableImplementation();
};
然后ExtendedDrawableImplementation
= DrawableImplementation (+IDrawable)
+IExtendedDrawable (+IDrawable)
IDrawable
同一班有两次是正确的吗?