HDK
|
Go to the source code of this file.
Classes | |
class | intrusive_ptr< T > |
A simple intrusive pointer, modeled after std::shared_ptr. More... | |
class | RefCnt |
Macros | |
#define | OIIO_REFCNT_HAS_RELEASE 1 /* intrusive_ptr::release() */ |
Functions | |
template<class T > | |
void | intrusive_ptr_add_ref (T *x) |
template<class T > | |
void | intrusive_ptr_release (T *x) |
Wrappers and utilities for reference counting.
Definition in file refcnt.h.
#define OIIO_REFCNT_HAS_RELEASE 1 /* intrusive_ptr::release() */ |
|
inline |
Implementation of intrusive_ptr_add_ref, which is needed for any class that you use with intrusive_ptr.
|
inline |
Implementation of intrusive_ptr_release, which is needed for any class that you use with intrusive_ptr.