cplusplus / CWG

Core Working Group
23 stars 7 forks source link

[stmt.stmt] How control flow executes in common case is underspecified #430

Open xmh0511 opened 1 year ago

xmh0511 commented 1 year ago

Full name of submitter (unless configured in github; will be published with the issue): Jim X

In subclauses [stmt.stmt] , we say some statements can cause the control flow transfer to XXX, however, we didn't clearly specify how a control flow is executed in common cases, it is slightly mentioned in this wording [stmt.dcl] p2

Upon each transfer of control (including sequential execution of statements)

Suggested Resolution

Unless otherwise specified, control flow is sequentially executed