From Jason Turner

[thread.lock.unique.mod]

Diff to HTML by rtfpessoa

tmp/tmp9vl6g8vu/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- ##### `unique_lock` modifiers <a id="thread.lock.unique.mod">[[thread.lock.unique.mod]]</a>
2
 
3
  ``` cpp
4
  void swap(unique_lock& u) noexcept;
5
  ```
6
 
@@ -10,11 +10,11 @@ void swap(unique_lock& u) noexcept;
10
  mutex_type* release() noexcept;
11
  ```
12
 
13
  *Returns:* The previous value of `pm`.
14
 
15
- *Postconditions:* `pm == 0` and `owns == false`.
16
 
17
  ``` cpp
18
  template<class Mutex>
19
  void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y) noexcept;
20
  ```
 
1
+ ##### Modifiers <a id="thread.lock.unique.mod">[[thread.lock.unique.mod]]</a>
2
 
3
  ``` cpp
4
  void swap(unique_lock& u) noexcept;
5
  ```
6
 
 
10
  mutex_type* release() noexcept;
11
  ```
12
 
13
  *Returns:* The previous value of `pm`.
14
 
15
+ *Ensures:* `pm == 0` and `owns == false`.
16
 
17
  ``` cpp
18
  template<class Mutex>
19
  void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y) noexcept;
20
  ```