tmp/tmpz8sffju7/{from.md → to.md}
RENAMED
|
@@ -8,11 +8,13 @@ expression-statement:
|
|
| 8 |
```
|
| 9 |
|
| 10 |
The expression is a discarded-value expression (Clause [[expr]]). All
|
| 11 |
side effects from an expression statement are completed before the next
|
| 12 |
statement is executed. An expression statement with the expression
|
| 13 |
-
missing is called a null statement.
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
statement
|
|
|
|
|
|
|
| 18 |
|
|
|
|
| 8 |
```
|
| 9 |
|
| 10 |
The expression is a discarded-value expression (Clause [[expr]]). All
|
| 11 |
side effects from an expression statement are completed before the next
|
| 12 |
statement is executed. An expression statement with the expression
|
| 13 |
+
missing is called a *null statement*.
|
| 14 |
+
|
| 15 |
+
[*Note 1*: Most statements are expression statements — usually
|
| 16 |
+
assignments or function calls. A null statement is useful to carry a
|
| 17 |
+
label just before the `}` of a compound statement and to supply a null
|
| 18 |
+
body to an iteration statement such as a `while` statement (
|
| 19 |
+
[[stmt.while]]). — *end note*]
|
| 20 |
|