A proxy class for managing reference counting of objects that do not natively support it. More...
#include <sharedptr.h>

Public Member Functions | |
| SharedPtrProxy (T *o) | |
| T * | _promeki_clone () const |
| T * | object () const |
Public Attributes | |
| RefCount | _promeki_refct |
A proxy class for managing reference counting of objects that do not natively support it.
This class acts as a proxy to manage the lifetime of objects that do not have built-in reference counting. It uses an internal RefCount object to track the number of references and ensures that the managed object is deleted when the reference count drops to zero. Generally you don't need to use this object directly, since it will be created by SharedPtr when SharedPtr has been typed with an object that isn't a natively reference counted object (i.e. has no _promeki_refct member)
Limitations:
| T | The type of the object being managed. |