There’s no separate notion of struct in C++. struct is a keyword. Entities introduced by this keyword, and also by class and union keywords, are called classes.
The standard uses the term “non-union class” to distinguish classes that are not unions.
solved Hypernym for class an struct in C++