📅  最后修改于: 2022-03-11 14:44:53.469000             🧑  作者: Mango
A structure is a class defined with the struct keyword.
Its members and base classes are public by default.
In practice, structs are typically reserved for data without functions.
When deriving a struct from a class/struct, default access-specifier for a base class/struct is public.