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++
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="hurcan solter, post: 3475644"] I have hard time imagining same object constructed twice.probably you think you are constructing the elements but they are already constructed and what you do is noop Cant really say without seeing some code of course. yes there is an order, base classes constructed in order as listed in the class declaration,and members in order as they are declared which can be overriden in member initializer list [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Order of construction
Top