On 24/12/10 10:36, Roman Perepelitsa wrote:I think my POD definition is the same as yours.
POD != aggregate. An aggregate class is a class with no user-declared constructors, no private or protected non-static data members, no base classes, and no virtual functions.
The following type is an aggregate but isn't a POD.
struct a{std::string s;};
I think I misused the term "aggregate construction" used for the {} construction. What's the correct for this then ?