Logo
Public Member Functions | Public Attributes | List of all members
SharpKmyBase::SharedPtr< T > Class Template Reference

#include <SharedPtr.h>

Public Member Functions

 SharedPtr ()
 
void release ()
 
 operator bool ()
 
T * operator-> ()
 
std::shared_ptr< T > & operator* ()
 

Public Attributes

std::shared_ptr< T > * m_ptr = nullptr
 

Constructor & Destructor Documentation

◆ SharedPtr()

template<typename T >
SharpKmyBase::SharedPtr< T >::SharedPtr ( )

Member Function Documentation

◆ operator bool()

template<typename T >
SharpKmyBase::SharedPtr< T >::operator bool ( )

◆ operator*()

template<typename T >
std::shared_ptr< T > & SharpKmyBase::SharedPtr< T >::operator* ( )

◆ operator->()

template<typename T >
T * SharpKmyBase::SharedPtr< T >::operator-> ( )

◆ release()

template<typename T >
void SharpKmyBase::SharedPtr< T >::release ( )

Member Data Documentation

◆ m_ptr

template<typename T >
std::shared_ptr<T>* SharpKmyBase::SharedPtr< T >::m_ptr = nullptr