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: 3967564"] std::string is not an aggregate, but bar is. Aggregation is determined very superficially; if the class has no user defined constructor or private data members, it is an aggregate. Something new to C++0x. It just means that the compiler should use the default implementation. In this case, I suppose that Foo is a typo for F, and it is used to say that the default constructor is the compiler generated default (and not absent, as it would be otherwise in the presence of other constructors). [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
c++0x pods and constructors
Top