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
In [stmt.do], it is stated that "the expression is contextually converted ...".
No grammar rule is provided in this paragraph, so it is a complete mystery to the reader what expression is being referred to. The expression is also called "condition" in [stmt.while], but this is not done in [stmt.do].
Also, unlike [stmt.while], the construction of the semantics does not happen in terms of goto, but is done in prose. This is another ugly asymmetry.
Last but no least, a note could be used to clarify the difference to while, or an example could show that a do ... while (false) statement is executed exactly once.
The text was updated successfully, but these errors were encountered:
In [stmt.do], it is stated that "the expression is contextually converted ...".
No grammar rule is provided in this paragraph, so it is a complete mystery to the reader what expression is being referred to. The expression is also called "condition" in [stmt.while], but this is not done in [stmt.do].
Also, unlike [stmt.while], the construction of the semantics does not happen in terms of
goto
, but is done in prose. This is another ugly asymmetry.Last but no least, a note could be used to clarify the difference to
while
, or an example could show that ado ... while (false)
statement is executed exactly once.The text was updated successfully, but these errors were encountered: