From Jason Turner

[thread.lock.shared]

Diff to HTML by rtfpessoa

tmp/tmptsbmocwh/{from.md → to.md} RENAMED
@@ -153,15 +153,13 @@ state of `sl` just prior to this construction), `sl.pm == nullptr` and
153
 
154
  ``` cpp
155
  shared_lock& operator=(shared_lock&& sl) noexcept;
156
  ```
157
 
158
- *Effects:* If `owns` calls `pm->unlock_shared()`.
159
 
160
- *Ensures:* `pm == sl_p.pm` and `owns == sl_p.owns` (where `sl_p` is the
161
- state of `sl` just prior to this assignment), `sl.pm == nullptr` and
162
- `sl.owns == false`.
163
 
164
  ##### Locking <a id="thread.lock.shared.locking">[[thread.lock.shared.locking]]</a>
165
 
166
  ``` cpp
167
  void lock();
 
153
 
154
  ``` cpp
155
  shared_lock& operator=(shared_lock&& sl) noexcept;
156
  ```
157
 
158
+ *Effects:* Equivalent to: `shared_lock(std::move(sl)).swap(*this)`
159
 
160
+ *Returns:* `*this`.
 
 
161
 
162
  ##### Locking <a id="thread.lock.shared.locking">[[thread.lock.shared.locking]]</a>
163
 
164
  ``` cpp
165
  void lock();