tmp/tmpz0g42tni/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
| 4 |
generator(generator&& other) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Initializes *coroutine\_* with
|
| 8 |
`exchange(other.`*`coroutine_`*`, {})` and *active\_* with
|
| 9 |
-
`exchange(other.active_, nullptr)`.
|
| 10 |
|
| 11 |
[*Note 1*: Iterators previously obtained from `other` are not
|
| 12 |
invalidated; they become iterators into `*this`. — *end note*]
|
| 13 |
|
| 14 |
``` cpp
|
|
|
|
| 4 |
generator(generator&& other) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Initializes *coroutine\_* with
|
| 8 |
`exchange(other.`*`coroutine_`*`, {})` and *active\_* with
|
| 9 |
+
`exchange(other.`*`active_`*`, nullptr)`.
|
| 10 |
|
| 11 |
[*Note 1*: Iterators previously obtained from `other` are not
|
| 12 |
invalidated; they become iterators into `*this`. — *end note*]
|
| 13 |
|
| 14 |
``` cpp
|