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

Rule:  CFL#024Checked automatically with code checker

Synopsis:A statement must have a side-effect, i.e., it must do something.
Language:C++
Severity Level:1
Category:Control Flow


Description:

Example:

 i == 1; // WRONG - operator == has no effect
 i;      // WRONG - but legal!
 i++;    // RIGHT - does something