Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-11-03 06:52:00


Anthony Williams wrote:
> Roland Schwarz <roland.schwarz_at_[hidden]> writes:
>> And such a struct shall be aggregate?
>
> No.

Don't understand:

8.5.1/1
An aggregate is an array or class with no user-declared constructors, no
private or protected non-static data members, no base classes, and no
virtual functions.

Our example class would fall out of this definition? Can't imagine why
it should. To me the concept simply appears as an extension to
aggregate initializers. Isn't it?

> N1980 is the latest public version of the proposal.
>
> http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2006/n1980.pdf
Thank you.

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk