You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Except where noted, evaluations of operands of individual operators and of subexpressions of individual expressions are unsequenced.
We use "sequence" to describe the relationship between two evaluations. Say o1 and o2 are evaluations of operands of an individual operator, s1 and s2 are evaluations of an individual expression.
What does the sentence mean?
any of o1 and o2 is unsequenced with any of s1 and s2
o1 is unsequenced with o2, s1 is unsequenced with s2
The "and" in the sentence arises ambiguity. The improvement might be:
Except where noted, the evaluations in the following are unsequenced:
evaluations of operands of individual operators
evaluations of subexpressions of individual expressions
The text was updated successfully, but these errors were encountered:
The two interpretations conflate to your first case, because operands of operators are also subexpressions of the compound (operator) expression, for example: a + b
There, a and b are unsequenced under both branches of the "and".
[intro.execution] p10 says
We use "sequence" to describe the relationship between two evaluations. Say
o1
ando2
are evaluations of operands of an individual operator,s1
ands2
are evaluations of an individual expression.What does the sentence mean?
The "and" in the sentence arises ambiguity. The improvement might be:
The text was updated successfully, but these errors were encountered: