Aggregate Classes

An aggregate class gives users direct access to its members and has special initialization syntax.

  • All of its data members are public
  • It does not define any constructors
  • It has no in-class initializers
  • It has no base classes or virtual functions