Nope, Dave, C++ calls Super() in the following code:
class Super{ public: Super() { cout << "super" << endl; }}; class Sub : public Super{ public: Sub() { cout << "sub" << endl; }}; main(){ Sub sub;}
Nope, Dave, C++ calls Super() in the following code:
class Super{ public: Super() { cout << "super" << endl; }}; class Sub : public Super{ public: Sub() { cout << "sub" << endl; }}; main(){ Sub sub;}