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++
c++0x pods and constructors
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="dragan, post: 3967971"] From N2960, I gather that a POD may not have user-defined: default constructor, copy constructor, copy assignment operator, destructor. In addition, it may not have virtual functions or virtual base classes, at most one base class and no non-static data members in the most-derived class. Other things too, but I find the aforementioned most important. So, the good news is, that seemingly a POD can have constructors other than the ones listed above and can also have a non-virtual base class. I'm not sure what "no non-static data members in the most-derived class" means exactly. The section needs more examples if you ask me. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
c++0x pods and constructors
Top