10 m_ptr =
new std::shared_ptr<T>();
16 std::shared_ptr<T>*
m_ptr =
nullptr;
19 return m_ptr !=
nullptr &&
m_ptr->get() !=
nullptr;
Definition: SharedPtr.h:7
T * operator->()
Definition: SharedPtr.h:21
SharedPtr()
Definition: SharedPtr.h:9
void release()
Definition: SharedPtr.h:12
std::shared_ptr< T > * m_ptr
Definition: SharedPtr.h:16
std::shared_ptr< T > & operator*()
Definition: SharedPtr.h:22