From Jason Turner

[util.smartptr.weak.assign]

Diff to HTML by rtfpessoa

tmp/tmpguyvmzlg/{from.md → to.md} RENAMED
@@ -1,17 +1,17 @@
1
- ##### `weak_ptr` assignment <a id="util.smartptr.weak.assign">[[util.smartptr.weak.assign]]</a>
2
 
3
  ``` cpp
4
  weak_ptr& operator=(const weak_ptr& r) noexcept;
5
  template<class Y> weak_ptr& operator=(const weak_ptr<Y>& r) noexcept;
6
  template<class Y> weak_ptr& operator=(const shared_ptr<Y>& r) noexcept;
7
  ```
8
 
9
  *Effects:* Equivalent to `weak_ptr(r).swap(*this)`.
10
 
11
  *Remarks:* The implementation may meet the effects (and the implied
12
- guarantees) via different means, without creating a temporary.
13
 
14
  *Returns:* `*this`.
15
 
16
  ``` cpp
17
  weak_ptr& operator=(weak_ptr&& r) noexcept;
 
1
+ #### Assignment <a id="util.smartptr.weak.assign">[[util.smartptr.weak.assign]]</a>
2
 
3
  ``` cpp
4
  weak_ptr& operator=(const weak_ptr& r) noexcept;
5
  template<class Y> weak_ptr& operator=(const weak_ptr<Y>& r) noexcept;
6
  template<class Y> weak_ptr& operator=(const shared_ptr<Y>& r) noexcept;
7
  ```
8
 
9
  *Effects:* Equivalent to `weak_ptr(r).swap(*this)`.
10
 
11
  *Remarks:* The implementation may meet the effects (and the implied
12
+ guarantees) via different means, without creating a temporary object.
13
 
14
  *Returns:* `*this`.
15
 
16
  ``` cpp
17
  weak_ptr& operator=(weak_ptr&& r) noexcept;