Name | Checked | Synopsis |
---|
CON#001
|
 |
Make unsafe type conversions explicit rather than implicit |
CON#002
|
 |
Do not cast away const |
CON#003
|
 |
Avoid explicit type conversions (casts) if possible |
CON#004
|
 |
Use the new cast operators (static_cast, const_cast, dynamic_cast, and reinterpret_cast) instead of the C-style casts |
CON#005
|
|
Declare a data member mutable if it must be modified by a const member function and has no influence on the state of the program |
CON#006
|
|
Prefer static_cast over reinterpret_cast if possible |
CON#007
|
 |
Do not convert implicitly from a boolean type to a non-boolean type, and vice versa. |
CON#008
|
 |
Don't take the address of an array |
CON#009
|
 |
Don't compare an address to null |