A
Alf P. Steinbach
* Charles Bailey:
Definition of aggregates, §8.5.1/1.
Is that true?
BS ISO/IEC 14882:2003 (Second Edition)
3.9 (10) says that POD-structs are POD types, and 9 (4) says that a
POD-struct is an aggregate class which has no non-static data members of
type non-POD-struct, non-POD-union (or array of such types) or
reference, and has no user-defined copy assignment operator and no
user-defined destructor. There's no mention of constructors.
Is there a ban on constructors in a paragraph that I've missed?
Definition of aggregates, §8.5.1/1.