|
6325 | 6325 | \pnum |
6326 | 6326 | The result is a \tcode{bool}. |
6327 | 6327 | \indextext{operator!side effects and logical AND}% |
6328 | | -If the second expression is evaluated, every |
6329 | | -\indextext{value computation}% |
6330 | | -value computation and |
6331 | | -\indextext{side effects} |
6332 | | -side |
6333 | | -effect associated with the first expression is sequenced before every |
6334 | | -value computation and side effect associated with the second expression. |
| 6328 | +If the second expression is evaluated, |
| 6329 | +the first expression is sequenced before |
| 6330 | +the second expression\iref{intro.execution}. |
6335 | 6331 |
|
6336 | 6332 | \rSec2[expr.log.or]{Logical OR operator}% |
6337 | 6333 | \indextext{expression!logical OR}% |
|
6356 | 6352 | \pnum |
6357 | 6353 | The result is a \tcode{bool}. |
6358 | 6354 | \indextext{operator!side effects and logical OR}% |
6359 | | -If the second expression is evaluated, every |
6360 | | -\indextext{value computation}% |
6361 | | -value computation and |
6362 | | -\indextext{side effects}% |
6363 | | -side effect |
6364 | | -associated with the first expression is sequenced before every value computation |
6365 | | -and side effect associated with the second expression. |
| 6355 | +If the second expression is evaluated, |
| 6356 | +the first expression is sequenced before |
| 6357 | +the second expression\iref{intro.execution}. |
6366 | 6358 |
|
6367 | 6359 | \rSec2[expr.cond]{Conditional operator}% |
6368 | 6360 | \indextext{expression!conditional operator}% |
|
6382 | 6374 | evaluated and if it is \tcode{true}, the result of the conditional |
6383 | 6375 | expression is the value of the second expression, otherwise that of the |
6384 | 6376 | third expression. Only one of the second and third expressions is |
6385 | | -evaluated. Every |
6386 | | -\indextext{value computation}% |
6387 | | -value computation and side effect associated with the |
6388 | | -first expression is sequenced before every value computation and side |
6389 | | -effect associated with the second or third expression. |
| 6377 | +evaluated. |
| 6378 | +The first expression is sequenced before |
| 6379 | +the second or third expression\iref{intro.execution}. |
6390 | 6380 |
|
6391 | 6381 | \pnum |
6392 | 6382 | If either the second or the third operand has type \tcode{void}, |
|
6777 | 6767 | A pair of expressions separated by a comma is evaluated left-to-right; |
6778 | 6768 | the left expression is |
6779 | 6769 | a discarded-value expression\iref{expr.prop}. |
6780 | | -Every |
6781 | | -\indextext{value computation}% |
6782 | | -value computation and side effect |
6783 | | -associated with the left expression is sequenced before every value |
6784 | | -computation and side effect associated with the right expression. |
| 6770 | +The left expression is sequenced before |
| 6771 | +the right expression\iref{intro.execution}. |
6785 | 6772 | \indextext{operator!side effects and comma}% |
6786 | 6773 | The type and value of the |
6787 | 6774 | result are the type and value of the right operand; the result is of the same |
|
0 commit comments