|
||||
|
Section 39:
|
[39.16] What's the deal with "sequence points"?
The C++ standard says (1.9p7), At certain specified points in the execution sequence called sequence points, all side effects of previous evaluations shall be complete and no side effects of subsequent evaluations shall have taken place. For example, if an expression contains the subexpression y++, then the variable y will be incremented by the next sequence point. Furthermore if the expression just after the sequence point contains the subexpression ++z, then z will not have yet been incremented at the moment the sequence point is reached. The "certain specified points" that are called sequence points are (section and paragraph numbers are from the standard):
|
|||