Download User's Guide

Transcript
NonScalarTypedefs
Items Enforced
NonScalarTypedefs
Append names of non-scalar typedefs with "_t".
Reason for rule: Following this convention will make it easier to recognize user-defined data types and maintain the software.
Example
class MyClass {
int count;
};
typedef MyClass My_t;
typedef MyClass My;
298
//OK
//Violation