From Jason Turner

[util.smartptr.shared.dest]

Diff to HTML by rtfpessoa

tmp/tmpqb83fvqr/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- #### Destructor <a id="util.smartptr.shared.dest">[[util.smartptr.shared.dest]]</a>
2
 
3
  ``` cpp
4
  ~shared_ptr();
5
  ```
6
 
@@ -10,11 +10,11 @@
10
  instance (`use_count() > 1`), there are no side effects.
11
  - Otherwise, if `*this` owns an object `p` and a deleter `d`, `d(p)` is
12
  called.
13
  - Otherwise, `*this` owns a pointer `p`, and `delete p` is called.
14
 
15
- [*Note 1*: Since the destruction of `*this` decreases the number of
16
  instances that share ownership with `*this` by one, after `*this` has
17
  been destroyed all `shared_ptr` instances that shared ownership with
18
  `*this` will report a `use_count()` that is one less than its previous
19
  value. — *end note*]
20
 
 
1
+ ##### Destructor <a id="util.smartptr.shared.dest">[[util.smartptr.shared.dest]]</a>
2
 
3
  ``` cpp
4
  ~shared_ptr();
5
  ```
6
 
 
10
  instance (`use_count() > 1`), there are no side effects.
11
  - Otherwise, if `*this` owns an object `p` and a deleter `d`, `d(p)` is
12
  called.
13
  - Otherwise, `*this` owns a pointer `p`, and `delete p` is called.
14
 
15
+ [*Note 2*: Since the destruction of `*this` decreases the number of
16
  instances that share ownership with `*this` by one, after `*this` has
17
  been destroyed all `shared_ptr` instances that shared ownership with
18
  `*this` will report a `use_count()` that is one less than its previous
19
  value. — *end note*]
20