Boost logo

Boost Users :

Subject: Re: [Boost-users] Copying Boost.Array initialization code
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2010-12-24 04:44:17


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 ?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net