Category : aggregate-type

I am trying to understand what an aggregate class/struct/union is: Here is from the C++ standard: An aggregate is an array or a class (Clause 9) with no user-provided constructors (12.1), no brace-or-equal-initializers for non-static data members (9.2), no private or protected non-static data members (Clause 11), no base classes (Clause 10), and no virtual ..

Read more