tmp/tmp9y8lfyip/{from.md → to.md}
RENAMED
|
@@ -3,11 +3,11 @@
|
|
| 3 |
``` cpp
|
| 4 |
const T& operator[](size_t n) const;
|
| 5 |
T& operator[](size_t n);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
*Returns:* A reference to the corresponding element of the array.
|
| 11 |
|
| 12 |
[*Note 1*: The expression `(a[i] = q, a[i]) == q` evaluates to `true`
|
| 13 |
for any non-constant `valarray<T> a`, any `T q`, and for any `size_t i`
|
|
|
|
| 3 |
``` cpp
|
| 4 |
const T& operator[](size_t n) const;
|
| 5 |
T& operator[](size_t n);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
`n < size()` is `true`.
|
| 9 |
|
| 10 |
*Returns:* A reference to the corresponding element of the array.
|
| 11 |
|
| 12 |
[*Note 1*: The expression `(a[i] = q, a[i]) == q` evaluates to `true`
|
| 13 |
for any non-constant `valarray<T> a`, any `T q`, and for any `size_t i`
|