tmp/tmplzto6959/{from.md → to.md}
RENAMED
|
@@ -81,11 +81,9 @@ state of `sl` just prior to this construction), `sl.pm == nullptr` and
|
|
| 81 |
|
| 82 |
``` cpp
|
| 83 |
shared_lock& operator=(shared_lock&& sl) noexcept;
|
| 84 |
```
|
| 85 |
|
| 86 |
-
*Effects:*
|
| 87 |
|
| 88 |
-
*
|
| 89 |
-
state of `sl` just prior to this assignment), `sl.pm == nullptr` and
|
| 90 |
-
`sl.owns == false`.
|
| 91 |
|
|
|
|
| 81 |
|
| 82 |
``` cpp
|
| 83 |
shared_lock& operator=(shared_lock&& sl) noexcept;
|
| 84 |
```
|
| 85 |
|
| 86 |
+
*Effects:* Equivalent to: `shared_lock(std::move(sl)).swap(*this)`
|
| 87 |
|
| 88 |
+
*Returns:* `*this`.
|
|
|
|
|
|
|
| 89 |
|