tmp/tmpnb91njxo/{from.md → to.md}
RENAMED
|
@@ -14,16 +14,14 @@ the assignment.
|
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
valarray<T>& operator=(valarray<T>&& v) noexcept;
|
| 17 |
```
|
| 18 |
|
| 19 |
-
*Effects:* `*this` obtains the value of `v`.
|
| 20 |
-
|
| 21 |
-
the same length, as if by calling `resize(v.size())`, before performing
|
| 22 |
-
the assignment.
|
| 23 |
|
| 24 |
-
*Complexity:*
|
| 25 |
|
| 26 |
``` cpp
|
| 27 |
valarray& operator=(initializer_list<T> il);
|
| 28 |
```
|
| 29 |
|
|
|
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
valarray<T>& operator=(valarray<T>&& v) noexcept;
|
| 17 |
```
|
| 18 |
|
| 19 |
+
*Effects:* `*this` obtains the value of `v`. The value of `v` after the
|
| 20 |
+
assignment is not specified.
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
*Complexity:* Linear.
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
valarray& operator=(initializer_list<T> il);
|
| 26 |
```
|
| 27 |
|