...
This rule appears in the C Secure Coding Standard as EXP30-C. Do not depend on order of evaluation between sequence points.
This rule appears in the Java Secure Coding Standard as EXP30-J. Do not depend on operator precedence while using expressions containing side-effects.
References
Wiki Markup |
---|
\[[ISO/IEC 14882-2003|AA. C++ References#ISO/IEC 14882-2003]\] Sections 1.9 Program execution, 5 Expressions, 12.6.2 Initializing bases and members. \[[ISO/IEC 14882-2003|AA. C++ References#ISO/IEC 14882-2003]\] Sections 1.9 Program execution, 5 Expressions, 12.6.2 Initializing bases and members. \[[Summit 05|AA. C++ References#Summit 05]\] Questions 3.1, 3.2, 3.3, 3.3b, 3.7, 3.8, 3.9, 3.10a, 3.10b, 3.11. \[[Lockheed Martin 05|AA. C++ References#Lockheed Martin 05]\] AV Rule 204.1 The value of an expression shall be the same under any order of evaluation that the standard permits. \[[Saks 07|AA. C++ References#Saks 07]\] |
...