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="James Kanze, post: 3968162"] Only if it's empty itself. The problem is that you can't express the requirements in terms of can or cannot have. At least partially, you have to express them in terms of "must have": a POD must have a trivial default constructor, for example (which is not the same thing as not having a non-trivial default constructor---you have three possibilities: no default constructor, trivial default constructor and non-trivial default constructor). [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
c++0x pods and constructors
Top