Assume that A is pure virtual class with some public
methods.
B is derived from A
Class B : virtual A {
public:
// all methods of A are defined here +
A new method is also defined (here only)
-- call it reset()
protected:
// ...
};
Now B is initiated as
static B b;
A *a = b;
Is it possible to access b.reset() using a->reset()?
-ishwar