Quote:
Originally Posted by spectre
I'm not entirely sure about this, but I think the problem is that you're assuming that "class AA : public A" and "class AAA : public AA" means that "class AAA : public A". I believe that class A's member functions, including constructors, are either private or protected.
|
My understanding is that public inheritance (as in this case) makes the base class's public and protected members public and protected, respectively, for the derived class as well, so it will carry on down the inheritance chain.