|
6598 | 6598 | In particular, an implementation shall allow a
|
6599 | 6599 | \tcode{valarray<T>}
|
6600 | 6600 | to be constructed from such replacement types and shall allow assignments
|
6601 |
| -and computed assignments of such types to |
| 6601 | +and compound assignments of such types to |
6602 | 6602 | \tcode{valarray<T>},
|
6603 | 6603 | \tcode{slice_array<T>},
|
6604 | 6604 | \tcode{gslice_array<T>},
|
|
6668 | 6668 | valarray operator~() const;
|
6669 | 6669 | valarray<bool> operator!() const;
|
6670 | 6670 |
|
6671 |
| - // \ref{valarray.cassign} computed assignment: |
| 6671 | + // \ref{valarray.cassign} compound assignment: |
6672 | 6672 | valarray& operator*= (const T&);
|
6673 | 6673 | valarray& operator/= (const T&);
|
6674 | 6674 | valarray& operator%= (const T&);
|
|
7238 | 7238 | applying the indicated operator to the corresponding element of the array.
|
7239 | 7239 | \end{itemdescr}
|
7240 | 7240 |
|
7241 |
| -\rSec3[valarray.cassign]{\tcode{valarray} computed assignment} |
| 7241 | +\rSec3[valarray.cassign]{\tcode{valarray} compound assignment} |
7242 | 7242 |
|
7243 | 7243 | \indexlibrary{\idxcode{operator*=}!\idxcode{valarray}}%
|
7244 | 7244 | \indexlibrary{\idxcode{operator/=}!\idxcode{valarray}}%
|
|
7280 | 7280 | If the array and the
|
7281 | 7281 | argument array do not have the same length, the behavior is undefined.%
|
7282 | 7282 | \indextext{undefined}
|
7283 |
| -The appearance of an array on the left-hand side of a computed assignment |
| 7283 | +The appearance of an array on the left-hand side of a compound assignment |
7284 | 7284 | does \tcode{not} invalidate references or pointers.
|
7285 | 7285 |
|
7286 | 7286 | \pnum
|
7287 |
| -If the value of an element in the left-hand side of a valarray computed |
| 7287 | +If the value of an element in the left-hand side of a valarray compound |
7288 | 7288 | assignment operator depends on the value of another element in that left
|
7289 | 7289 | hand side, the resulting behavior is undefined.
|
7290 | 7290 | \end{itemdescr}
|
|
7335 | 7335 | The array is then returned by reference.
|
7336 | 7336 |
|
7337 | 7337 | \pnum
|
7338 |
| -The appearance of an array on the left-hand side of a computed assignment |
| 7338 | +The appearance of an array on the left-hand side of a compound assignment |
7339 | 7339 | does
|
7340 | 7340 | \textit{not}
|
7341 | 7341 | invalidate references or pointers to the elements of the array.
|
|
7945 | 7945 | object refers.
|
7946 | 7946 | \end{itemdescr}
|
7947 | 7947 |
|
7948 |
| -\rSec3[slice.arr.comp.assign]{\tcode{slice_array} computed assignment} |
| 7948 | +\rSec3[slice.arr.comp.assign]{\tcode{slice_array} compound assignment} |
7949 | 7949 |
|
7950 | 7950 | \indexlibrary{\idxcode{operator*=}!\idxcode{slice_array}}%
|
7951 | 7951 | \indexlibrary{\idxcode{operator/=}!\idxcode{slice_array}}%
|
|
7974 | 7974 |
|
7975 | 7975 | \begin{itemdescr}
|
7976 | 7976 | \pnum
|
7977 |
| -These computed assignments have reference semantics, applying the |
| 7977 | +These compound assignments have reference semantics, applying the |
7978 | 7978 | indicated operation to the elements of the argument array
|
7979 | 7979 | and selected elements of the
|
7980 | 7980 | \tcode{valarray<T>}
|
|
8233 | 8233 | refers.
|
8234 | 8234 | \end{itemdescr}
|
8235 | 8235 |
|
8236 |
| -\rSec3[gslice.array.comp.assign]{\tcode{gslice_array}} |
| 8236 | +\rSec3[gslice.array.comp.assign]{\tcode{gslice_array} compound assignment} |
8237 | 8237 |
|
8238 | 8238 | \indexlibrary{\idxcode{operator*=}!\idxcode{gslice_array}}%
|
8239 | 8239 | \indexlibrary{\idxcode{operator/=}!\idxcode{gslice_array}}%
|
|
8262 | 8262 |
|
8263 | 8263 | \begin{itemdescr}
|
8264 | 8264 | \pnum
|
8265 |
| -These computed assignments have reference semantics, applying the |
| 8265 | +These compound assignments have reference semantics, applying the |
8266 | 8266 | indicated operation to the elements of the argument array and selected
|
8267 | 8267 | elements of the
|
8268 | 8268 | \tcode{valarray<T>}
|
|
8363 | 8363 | object to which it refers.
|
8364 | 8364 | \end{itemdescr}
|
8365 | 8365 |
|
8366 |
| -\rSec3[mask.array.comp.assign]{\tcode{mask_array} computed assignment} |
| 8366 | +\rSec3[mask.array.comp.assign]{\tcode{mask_array} compound assignment} |
8367 | 8367 |
|
8368 | 8368 | \indexlibrary{\idxcode{operator*=}!\idxcode{mask_array}}%
|
8369 | 8369 | \indexlibrary{\idxcode{operator/=}!\idxcode{mask_array}}%
|
|
8392 | 8392 |
|
8393 | 8393 | \begin{itemdescr}
|
8394 | 8394 | \pnum
|
8395 |
| -These computed assignments have reference semantics, applying the |
| 8395 | +These compound assignments have reference semantics, applying the |
8396 | 8396 | indicated operation to the elements of the argument array and selected elements
|
8397 | 8397 | of the
|
8398 | 8398 | \tcode{valarray<T>}
|
|
8508 | 8508 | \exitexample
|
8509 | 8509 | \end{itemdescr}
|
8510 | 8510 |
|
8511 |
| -\rSec3[indirect.array.comp.assign]{\tcode{indirect_array} computed assignment} |
| 8511 | +\rSec3[indirect.array.comp.assign]{\tcode{indirect_array} compound assignment} |
8512 | 8512 |
|
8513 | 8513 | \indexlibrary{\idxcode{operator*=}!\idxcode{indirect_array}}%
|
8514 | 8514 | \indexlibrary{\idxcode{operator*=}!\idxcode{indirect_array}}%
|
|
8539 | 8539 |
|
8540 | 8540 | \begin{itemdescr}
|
8541 | 8541 | \pnum
|
8542 |
| -These computed assignments have reference semantics, applying the indicated |
| 8542 | +These compound assignments have reference semantics, applying the indicated |
8543 | 8543 | operation to the elements of the argument array and selected elements of the
|
8544 | 8544 | \tcode{valarray<T>}
|
8545 | 8545 | object to which the
|
|
0 commit comments