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

Rule:  POR#010

Synopsis:Do not assume that the operands in an expression are evaluated in a definite order, unless the order is specified in the language
Severity Level:1


If a value is modified twice in the same expression, the result of the expression is undefined except when the order of evaluation is guaranteed for the operators that are used. It is allowed to use knowledge about the evaluation order of boolean expressions since this is specified in the C++ language definition.