TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  TT#013

Synopsis:Structs vs Classes
Language:C++
Severity Level:5
Category:Class Interface


Description:

If all the members are public it is allowed to use the struct keyword. For the more general case of public and private members use the class keyword instead.



Literature References:
TomTom Guidelines