#include <smartptr.h>
Collaboration diagram for Counted:
Private Methods | |
Counted (T *p) | |
~Counted () | |
unsigned | new_reference () |
unsigned | free_reference () |
Private Attributes | |
unsigned | counter |
T *const | pointer |
Friends | |
class | SmartPtr< T > |
Definition at line 40 of file smartptr.h.
|
Definition at line 45 of file smartptr.h. |
|
Definition at line 46 of file smartptr.h. |
|
Definition at line 48 of file smartptr.h. Referenced by SmartPtr::SmartPtr(). |
|
Definition at line 52 of file smartptr.h. Referenced by SmartPtr::Unbind(). |
|
Definition at line 58 of file smartptr.h. |
|
Definition at line 42 of file smartptr.h. Referenced by Counted::Counted(), Counted::free_reference(), Counted::new_reference(), and Counted::~Counted(). |
|
Definition at line 43 of file smartptr.h. Referenced by Counted::Counted(), SmartPtr::operator *(), SmartPtr::operator->(), and Counted::~Counted(). |
Contact me in case of errors or questions. This documentation is powered by ![]() |
(C) 2000-2002 ![]() |