Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Implicitly declared/defined member functions and inheritance
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="lovecreatesbeauty, post: 1542590"] ------- quotation: ISO/IEC 14882 ------- 10.3 Virtual functions 4. Even though destructors are not inherited, a destructor in a derived overrides a base class destructor declared virtual; .... 12.3.2 Conversion functions 5. Conversion functions are inherited. 13.5 Overloaded operators 6. ...The meaning of the operator = , (unary) &, and , (comma), predefined for each type, can be changed for specific class and enumeration types by defining operator functions that implement these operators. Operator functions are inherited in the same manner as other base class functions. ------- quotation ends ------- I've be taught that constructors, destructor and copy assignment are not inherited from base classes in derived classes. As for these members, derived classes will always have its own members instead of inherit them from father classes. But I don't find a complete list of these members from the language standard. Thank you. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Implicitly declared/defined member functions and inheritance
Top