A sequence point defines any point in a computer program's execution at which it is guaranteed that all side effects of previous evaluations will have been performed, and no side effects from subsequent evaluations have yet been performed. They are often mentioned in reference to C and C++, because the result of some expressions can depend on the order of evaluation of their subexpressions. Adding one or more sequence points is one method of ensuring a consistent result, because this restricts the possible orders of evaluation.
With C++11, the most recent iteration of the C++ programming language, usage of the term sequence point has been replaced by specifying that either one evaluation is sequenced before another, or that two evaluations are unsequenced. The execution of unsequenced evaluations can overlap.
Read more about Sequence Point: Examples of Ambiguity, Sequence Points in C and C++
Famous quotes containing the words sequence and/or point:
“It isnt that you subordinate your ideas to the force of the facts in autobiography but that you construct a sequence of stories to bind up the facts with a persuasive hypothesis that unravels your historys meaning.”
—Philip Roth (b. 1933)
“It used to be said that, socially speaking, Philadelphia asked who a person is, New York how much is he worth, and Boston what does he know. Nationally it has now become generally recognized that Boston Society has long cared even more than Philadelphia about the first point and has refined the asking of who a person is to the point of demanding to know who he was. Philadelphia asks about a mans parents; Boston wants to know about his grandparents.”
—Cleveland Amory (b. 1917)