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++
Predefined class 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: 1541033"] Predefined class member functions and inheritance How many member functions on earth can be provided (predefined) by standard-compliant compilers? Scott Meyers says that there are 6: (1)default constructor, (2)copy constructor, (3)destructor, (4)assignment operator, (5)address-of operator (non-const), (6)address-of operator (const), in `Effective C++, 2nd` item 45. Bjarne Stroustrup mentioned one more: operator, (i.e. comma operator) in `The C++ programming Language, special edition` section 11.2.2. Derived classes won't inherit these member functions provided (predefine) by compilers from father classes, right? Thank you lovecreatesbeauty [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Predefined class member functions and inheritance
Top