MK27: that special declaration is archaic style. Don't do it. Use a using declaration instead.
class B ... {
...
using A::foo;
};
Overloading, overriding, and hiding are independent...
Type: Posts; User: CornedBee
MK27: that special declaration is archaic style. Don't do it. Use a using declaration instead.
class B ... {
...
using A::foo;
};
Overloading, overriding, and hiding are independent...
Overriding, as laserlight says, applies only to member functions in a derived class with the same name and argument types as a virtual function in some base class. (The return type may vary within...