tmp/tmpi7ouorsc/{from.md → to.md}
RENAMED
|
@@ -14,27 +14,25 @@ left expression is sequenced before the right expression
|
|
| 14 |
[[intro.execution]]. The type and value of the result are the type and
|
| 15 |
value of the right operand; the result is of the same value category as
|
| 16 |
its right operand, and is a bit-field if its right operand is a
|
| 17 |
bit-field.
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
parentheses.
|
| 26 |
-
|
| 27 |
-
[*Example 2*:
|
| 28 |
|
| 29 |
``` cpp
|
| 30 |
f(a, (t=3, t+2), c);
|
| 31 |
```
|
| 32 |
|
| 33 |
has three arguments, the second of which has the value `5`.
|
| 34 |
|
| 35 |
— *end example*]
|
| 36 |
|
| 37 |
-
|
| 38 |
-
*expr-or-braced-init-list* of a subscripting expression [[expr.sub]] is
|
| 39 |
-
deprecated; see [[depr.comma.subscript]]. — *end note*]
|
| 40 |
|
|
|
|
| 14 |
[[intro.execution]]. The type and value of the result are the type and
|
| 15 |
value of the right operand; the result is of the same value category as
|
| 16 |
its right operand, and is a bit-field if its right operand is a
|
| 17 |
bit-field.
|
| 18 |
|
| 19 |
+
[*Note 1*:
|
| 20 |
|
| 21 |
+
In contexts where the comma token is given special meaning (e.g.,
|
| 22 |
+
function calls [[expr.call]], subscript expressions [[expr.sub]], lists
|
| 23 |
+
of initializers [[dcl.init]], or *template-argument-list*s
|
| 24 |
+
[[temp.names]]), the comma operator as described in this subclause can
|
| 25 |
+
appear only in parentheses.
|
| 26 |
|
| 27 |
+
[*Example 1*:
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
``` cpp
|
| 30 |
f(a, (t=3, t+2), c);
|
| 31 |
```
|
| 32 |
|
| 33 |
has three arguments, the second of which has the value `5`.
|
| 34 |
|
| 35 |
— *end example*]
|
| 36 |
|
| 37 |
+
— *end note*]
|
|
|
|
|
|
|
| 38 |
|