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

Rule:  GEN#003Checked automatically with code checker

This rule is Obsolete
Synopsis:Avoid pointer arithmetic . The only operators allowed on pointers are "=", "==", "!=", " ->", "[ ]" (for arrays) and the unary "*".
Severity Level:6


Pointer arithmetic can be portable. The operators "==" and "!=" are defined for all pointers of the same type, while the use of the operators "<", ">", "<=", ">=" are portable only if they are used between pointers which point into the same array.

Literature References:
Ellemtel P. Rec. 18