Electroneum
Public Member Functions | Private Attributes | List of all members
tools::scoped_ptr< type, freefunc > Class Template Reference

Public Member Functions

 scoped_ptr ()
 
 scoped_ptr (type *p)
 
 ~scoped_ptr ()
 
 operator type * ()
 
type ** operator& ()
 
type * operator-> ()
 
 operator const type * () const
 

Private Attributes

type * ptr
 

Constructor & Destructor Documentation

◆ scoped_ptr() [1/2]

template<typename type , void(*)(type *) freefunc>
tools::scoped_ptr< type, freefunc >::scoped_ptr ( )
inline

◆ scoped_ptr() [2/2]

template<typename type , void(*)(type *) freefunc>
tools::scoped_ptr< type, freefunc >::scoped_ptr ( type *  p)
inline

◆ ~scoped_ptr()

template<typename type , void(*)(type *) freefunc>
tools::scoped_ptr< type, freefunc >::~scoped_ptr ( )
inline

Member Function Documentation

◆ operator const type *()

template<typename type , void(*)(type *) freefunc>
tools::scoped_ptr< type, freefunc >::operator const type * ( ) const
inline

◆ operator type *()

template<typename type , void(*)(type *) freefunc>
tools::scoped_ptr< type, freefunc >::operator type * ( )
inline

◆ operator&()

template<typename type , void(*)(type *) freefunc>
type** tools::scoped_ptr< type, freefunc >::operator& ( )
inline

◆ operator->()

template<typename type , void(*)(type *) freefunc>
type* tools::scoped_ptr< type, freefunc >::operator-> ( )
inline

Member Data Documentation

◆ ptr

template<typename type , void(*)(type *) freefunc>
type* tools::scoped_ptr< type, freefunc >::ptr
private

The documentation for this class was generated from the following file: