From Jason Turner

[util.smartptr.getdeleter]

Diff to HTML by rtfpessoa

tmp/tmpm0vlzaod/{from.md → to.md} RENAMED
@@ -3,11 +3,11 @@
3
  ``` cpp
4
  template<class D, class T> D* get_deleter(const shared_ptr<T>& p) noexcept;
5
  ```
6
 
7
  *Returns:* If `p` *owns* a deleter `d` of type cv-unqualified `D`,
8
- returns `&d`; otherwise returns `0`. The returned pointer remains valid
9
- as long as there exists a `shared_ptr` instance that owns `d`. It is
10
- unspecified whether the pointer remains valid longer than that. This can
11
- happen if the implementation doesn’t destroy the deleter until all
12
  `weak_ptr` instances that share ownership with `p` have been destroyed.
13
 
 
3
  ``` cpp
4
  template<class D, class T> D* get_deleter(const shared_ptr<T>& p) noexcept;
5
  ```
6
 
7
  *Returns:* If `p` *owns* a deleter `d` of type cv-unqualified `D`,
8
+ returns `&d`; otherwise returns `nullptr`. The returned pointer remains
9
+ valid as long as there exists a `shared_ptr` instance that owns `d`. It
10
+ is unspecified whether the pointer remains valid longer than that. This
11
+ can happen if the implementation doesn’t destroy the deleter until all
12
  `weak_ptr` instances that share ownership with `p` have been destroyed.
13