|
688 | 688 | \end{codeblock}
|
689 | 689 | \end{example}
|
690 | 690 |
|
691 |
| -\item Otherwise, the object indicated by the glvalue is read\iref{defns.access}, |
692 |
| -and the value contained in the object is the prvalue result. |
| 691 | +\item Otherwise, the object indicated by the glvalue is read\iref{defns.access}. |
| 692 | +Let \tcode{V} be the value contained in the object. |
| 693 | +If \tcode{T} is an integer type, |
| 694 | +the prvalue result is |
| 695 | +the value of type \tcode{T} congruent\iref{basic.fundamental} to \tcode{V}, and |
| 696 | +\tcode{V} otherwise. |
693 | 697 | \end{itemize}
|
694 | 698 |
|
695 | 699 | \pnum
|
|
3807 | 3811 | \indextext{operator!increment}%
|
3808 | 3812 | \indextext{\idxcode{++}|see{operator, increment}}%
|
3809 | 3813 | \indextext{postfix \tcode{++}}%
|
3810 |
| -The value of a postfix \tcode{++} expression is the value of its |
3811 |
| -operand. |
| 3814 | +The value of a postfix \tcode{++} expression is the value obtained by |
| 3815 | +applying the lvalue-to-rvalue conversion\iref{conv.lval} to its operand. |
3812 | 3816 | \begin{note}
|
3813 | 3817 | The value obtained is a copy of the original value.
|
3814 | 3818 | \end{note}
|
|
7340 | 7344 | \end{bnf}
|
7341 | 7345 |
|
7342 | 7346 | \pnum
|
7343 |
| -In simple assignment (\tcode{=}), the object referred to by the left operand |
7344 |
| -is modified\iref{defns.access} |
7345 |
| -by replacing its value with the result of the right operand. |
| 7347 | +In simple assignment (\tcode{=}), |
| 7348 | +let \tcode{V} be the result of the right operand; |
| 7349 | +the object referred to by the left operand is |
| 7350 | +modified\iref{defns.access} by replacing its value |
| 7351 | +with \tcode{V} or, |
| 7352 | +if the object is of integer type, |
| 7353 | +with the value congruent\iref{basic.fundamental} to \tcode{V}. |
7346 | 7354 |
|
7347 | 7355 | \pnum
|
7348 | 7356 | \indextext{assignment!conversion by}%
|
|
0 commit comments