#include <AutoPtr.h>
Public Member Functions | |
AutoPtr (T *const p=0) | |
~AutoPtr () | |
void | deallocate () |
T * | release () |
void | operator= (T *const p) |
T * | operator-> () const |
operator T * () const | |
operator bool () const | |
Private Member Functions | |
AutoPtr (const AutoPtr &) | |
void | operator= (AutoPtr &) |
Private Attributes | |
T * | p_ |
Definition at line 4 of file AutoPtr.h.
Definition at line 12 of file AutoPtr.h.
References AutoPtr< T >::p_.
void AutoPtr< T >::deallocate | ( | ) | [inline] |
AutoPtr< T >::operator bool | ( | ) | const [inline] |
Definition at line 47 of file AutoPtr.h.
References AutoPtr< T >::p_.
AutoPtr< T >::operator T * | ( | ) | const [inline] |
Definition at line 42 of file AutoPtr.h.
References AutoPtr< T >::p_.
T* AutoPtr< T >::operator-> | ( | ) | const [inline] |
Definition at line 37 of file AutoPtr.h.
References AutoPtr< T >::p_.
void AutoPtr< T >::operator= | ( | T *const | p | ) | [inline] |
Definition at line 30 of file AutoPtr.h.
References AutoPtr< T >::p_.
T* AutoPtr< T >::release | ( | ) | [inline] |
Definition at line 23 of file AutoPtr.h.
References AutoPtr< T >::p_.
Definition at line 53 of file AutoPtr.h.
Referenced by AutoPtr< T >::operator bool(), AutoPtr< T >::operator T *(), AutoPtr< T >::operator->(), AutoPtr< T >::operator=(), AutoPtr< T >::release(), and AutoPtr< T >::~AutoPtr().