CppCMS
|
This class is used as base class for reference counted objects that use intrusive_ptr. Deriving from this class allows simple way to manage reference counting for single object. More...
#include <booster/booster/refcounted.h>
Friends | |
void | intrusive_ptr_add_ref (refcounted *) |
void | intrusive_ptr_release (refcounted *) |
This class is used as base class for reference counted objects that use intrusive_ptr. Deriving from this class allows simple way to manage reference counting for single object.
void intrusive_ptr_add_ref | ( | refcounted * | p | ) | [friend] |
Increase reference count
void intrusive_ptr_release | ( | refcounted * | p | ) | [friend] |
Decrease reference count, if it goes to 0, destroy the object