#include <smart_ptr.h>
Public Member Functions | |
smart_ptr (T *ptr) | |
smart_ptr (const smart_ptr< T > &other) | |
smart_ptr & | operator= (const smart_ptr &other) |
void | release () |
T * | get () |
void | reset (T *newptr) |
operator T * () const | |
T * | operator-> () const |