cgv
|
struct used to make ref pointers to ref_counted friends of ref_counted More...
#include <ref_ptr.h>
Protected Member Functions | |
void | inc_ref_count (const ref_counted *ptr) const |
increment the count of a ref counted object | |
bool | dec_ref_count (const ref_counted *ptr) const |
decrement the count of a ref counted object and return whether to delete the object | |
struct used to make ref pointers to ref_counted friends of ref_counted
|
inlineprotected |
decrement the count of a ref counted object and return whether to delete the object
Definition at line 31 of file ref_ptr.h.
References cgv::data::ref_counted::get_ref_count(), and cgv::data::ref_counted::set_ref_count().
|
inlineprotected |
increment the count of a ref counted object
Definition at line 26 of file ref_ptr.h.
References cgv::data::ref_counted::get_ref_count(), and cgv::data::ref_counted::set_ref_count().