I believe Constructors and Destructors in base class cannot be inherited by derived classes of the base class. Is my understanding correct.
I believe Constructors and Destructors in base class cannot be inherited by derived classes
Share
Your understanding is correct. For example, if you have
This will not compile because the Base constructor is not inherited.
Note that default and copy constructor are created by the compiler if possible, and call the corresponding constructor of base classes, therefore for those constructors it looks as if those were inherited.