
3 Nov
2006
3 Nov
'06
11:52 a.m.
Anthony Williams wrote:
Roland Schwarz <roland.schwarz@chello.at> 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