From Jason Turner

[util.smartptr.getdeleter]

Diff to HTML by rtfpessoa

tmp/tmpqrme377n/{from.md → to.md} RENAMED
@@ -1,10 +1,10 @@
1
  ##### `get_deleter` <a id="util.smartptr.getdeleter">[[util.smartptr.getdeleter]]</a>
2
 
3
  ``` cpp
4
  template<class D, class T>
5
- D* get_deleter(const shared_ptr<T>& p) noexcept;
6
  ```
7
 
8
  *Returns:* If `p` owns a deleter `d` of type cv-unqualified `D`, returns
9
  `addressof(d)`; otherwise returns `nullptr`. The returned pointer
10
  remains valid as long as there exists a `shared_ptr` instance that owns
 
1
  ##### `get_deleter` <a id="util.smartptr.getdeleter">[[util.smartptr.getdeleter]]</a>
2
 
3
  ``` cpp
4
  template<class D, class T>
5
+ constexpr D* get_deleter(const shared_ptr<T>& p) noexcept;
6
  ```
7
 
8
  *Returns:* If `p` owns a deleter `d` of type cv-unqualified `D`, returns
9
  `addressof(d)`; otherwise returns `nullptr`. The returned pointer
10
  remains valid as long as there exists a `shared_ptr` instance that owns