[intro.execution] make function evaluation actually not interleave CWG2466#2789
[intro.execution] make function evaluation actually not interleave CWG2466#2789RedBeard0531 wants to merge 1 commit intocplusplus:mainfrom
Conversation
While the intent was clear and explicitly stated in the footnote, the prior wording didn't require B to be consistently sequenced before or after every A in F, only that they be individually pairwise sequenced.
|
Since sequenced-before is a transitive order, isn't your reformulation just creating the transitive hull, which is (specification-wise) a no-op? Put differently, can you show an example execution with As and Bs that satisfy the current normative wording, but violates the footnote? |
|
Example: Prior to this change, what prevents Regardless, these words are subtle, and we shouldn't change them without CWG (and possibly SG1) consultation. |
I have more crazy question: what prevents |
|
|
Well, this doesn't say which full-expression is "next". But prolly I'm nagging to much. Continuing this way, we may start asking "where is it specified that the program is parsed from left to right and from top to bottom". |
|
Addressed by CWG2466. |
While the intent was clear and explicitly stated in the footnote, the prior wording didn't require B to be consistently sequenced before or after every A in F, only that they be individually pairwise sequenced.