| 104 | { |
| 105 | template <class T> |
| 106 | shared_ptr<T> static_shared_from_this(T* that) |
| 107 | { |
| 108 | return static_pointer_cast<T>(that->shared_from_this()); |
| 109 | } |
| 110 | template <class T> |
| 111 | shared_ptr<T const> static_shared_from_this(T const* that) |
| 112 | { |
no test coverage detected