|
void | release () |
| if the pointer had been initialized before, decrement reference count and release pointer, if necessary delete instance
|
|
T * | ref () const |
| return the pointer itself
|
|
| ref_ptr_impl (T *p) |
| construct from pointer and increment reference count
|
|
| ref_ptr_impl (const ref_ptr_impl< T, true > &r) |
| copy construct from same pointer type and increment count
|
|
template<typename S > |
| ref_ptr_impl (const ref_ptr_impl< S, true > &s) |
| copy construct from pointer of derived type with virtual destructor
|
|
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
|
|
template<typename T>
class cgv::data::ref_ptr_impl< T, true >
Definition at line 103 of file ref_ptr.h.