struct
suggest changeInterchangeable with class, except for the following differences:
- If a class type is defined using the keyword
struct, then the default accessibility of bases and members ispublicrather thanprivate. structcannot be used to declare a template type parameter or template template parameter; onlyclasscan.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents