#include <mcllib/MCRefCount.h>
Inheritance diagram for MCRefCountWrap:
Public Member Functions | |
MCRefCountWrap (copy_param_type data) | |
Initialize from an item of the template type. | |
MCRefCountWrap () | |
Default constructor. | |
operator T & () | |
obtain a reference to the item |
The RefCountAccessor friend is the only thing which can access the reference count. This is used to implement smart pointers.
|
Default constructor. Reference count is zero |