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++
Endure order of construction?
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="James Kanze, post: 3950812"] -- Virtual base classes (in order of appearance in a left most depth first search), always invoked by the most derived class (and only the most derived class) before anything else. You mean "direct non-virtual base classes". Virtual base classes will already have been constructed, and non-direct base classes (other than virtual) will be constructed by the class which inherits directly from them. Your description is fine as long as no virtual inheritance is involved. Virtual inheritance complicates things a little. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Endure order of construction?
Top