R
.rhavin grobert
guess you have ....
class Grandbase {
public:
virtual int foo();
};
class Base: public Grandbase {
/* no foo() specified here */
};
class Derived, public Base {
public:
virtual int foo();
};
my compiler gives no errors, ..but ... is it safe?
class Grandbase {
public:
virtual int foo();
};
class Base: public Grandbase {
/* no foo() specified here */
};
class Derived, public Base {
public:
virtual int foo();
};
my compiler gives no errors, ..but ... is it safe?