Title: EXP50-CPP. Do not depend on the order of evaluation for side effects  
Author: Justin Pincar Aug 13, 2008
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/IXw-BQ
Export As: Word · PDF  
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
    Page: EXP05-J. Do not follow a write by a subsequent write or read of the same object within an expression
SEI CERT C++ Coding Standard (1)
    Page: MEM52-CPP. Detect and handle memory allocation errors
Hierarchy
Parent Page
    Page: Rule 02. Expressions (EXP)
Outgoing Links
External Links (13)
    www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0400r0.ht…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://pvs-studio.com/en/docs/warnings/v708/
    https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
    www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0145r3.pd…
    https://www.securecoding.cert.org/confluence/display/cplusp…
    https://www.mathworks.com/help/bugfinder/ref/certcexp50cpp.…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v521/
    en.cppreference.com/w/cpp/language/eval_order
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
SEI CERT C Coding Standard (6)     Home page: SEI CERT C Coding Standard
    Page: EXP30-C. Do not depend on the order of evaluation for side effects
    Page: BB. Definitions
    Page: CodeSonar
    Page: ECLAIR
    Page: Coverity
SEI CERT C++ Coding Standard (24)     Page: Clang_V
    Page: PVS-Studio_V
    Page: BB. Definitions
    Page: ECLAIR_V
    Page: Ldra_V
    Page: Splint
    Page: LDRA
    Page: AA. Bibliography
    Page: Polyspace Bug Finder_V
    Page: Axivion Bauhaus Suite_V
    Page: Gcc_V
    Page: Helix QAC
    Page: Axivion Bauhaus Suite
    Page: Clang
    Page: Klocwork_V
    Page: Splint_V
    Page: Rose
    Page: Parasoft_V
    Page: CodeSonar_V
    Page: Coverity_V
    Page: Parasoft
    Page: Helix QAC_V
    Page: GCC
    Home page: SEI CERT C++ Coding Standard