tmp/tmp2milxp4f/{from.md → to.md}
RENAMED
|
@@ -8,16 +8,18 @@ expression:
|
|
| 8 |
expression ',' assignment-expression
|
| 9 |
```
|
| 10 |
|
| 11 |
A pair of expressions separated by a comma is evaluated left-to-right;
|
| 12 |
the left expression is a discarded-value expression (Clause
|
| 13 |
-
[[expr]]).[^
|
| 14 |
the left expression is sequenced before every value computation and side
|
| 15 |
effect associated with the right expression. The type and value of the
|
| 16 |
result are the type and value of the right operand; the result is of the
|
| 17 |
same value category as its right operand, and is a bit-field if its
|
| 18 |
-
right operand is a glvalue and a bit-field.
|
|
|
|
|
|
|
| 19 |
|
| 20 |
In contexts where comma is given a special meaning, in lists of
|
| 21 |
arguments to functions ([[expr.call]]) and lists of initializers (
|
| 22 |
[[dcl.init]]) the comma operator as described in Clause [[expr]] can
|
| 23 |
appear only in parentheses.
|
|
|
|
| 8 |
expression ',' assignment-expression
|
| 9 |
```
|
| 10 |
|
| 11 |
A pair of expressions separated by a comma is evaluated left-to-right;
|
| 12 |
the left expression is a discarded-value expression (Clause
|
| 13 |
+
[[expr]]).[^27] Every value computation and side effect associated with
|
| 14 |
the left expression is sequenced before every value computation and side
|
| 15 |
effect associated with the right expression. The type and value of the
|
| 16 |
result are the type and value of the right operand; the result is of the
|
| 17 |
same value category as its right operand, and is a bit-field if its
|
| 18 |
+
right operand is a glvalue and a bit-field. If the value of the right
|
| 19 |
+
operand is a temporary ([[class.temporary]]), the result is that
|
| 20 |
+
temporary.
|
| 21 |
|
| 22 |
In contexts where comma is given a special meaning, in lists of
|
| 23 |
arguments to functions ([[expr.call]]) and lists of initializers (
|
| 24 |
[[dcl.init]]) the comma operator as described in Clause [[expr]] can
|
| 25 |
appear only in parentheses.
|