24 Dec
2010
24 Dec
'10
9:44 a.m.
On 24/12/10 10:36, Roman Perepelitsa wrote:
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 my POD definition is the same as yours. I think I misused the term "aggregate construction" used for the {} construction. What's the correct for this then ?