intrusive_ptr<T> is an alternative to shared_ptr<T> that has better performance because it does the refcounting intrusively (i.e. More...
#include <intrusive_ptr.h>
Protected Member Functions | |
intrusive_ptr_target (intrusive_ptr_target &&other) noexcept | |
intrusive_ptr_target & | operator= (intrusive_ptr_target &&other) noexcept |
intrusive_ptr_target (const intrusive_ptr_target &other) noexcept | |
intrusive_ptr_target & | operator= (const intrusive_ptr_target &other) noexcept |
Friends | |
template<typename T , typename NullType > | |
class | intrusive_ptr |
template<typename T , typename NullType > | |
class | weak_intrusive_ptr |
intrusive_ptr<T> is an alternative to shared_ptr<T> that has better performance because it does the refcounting intrusively (i.e.
in a member of the object itself). Your class T needs to inherit from intrusive_ptr_target to allow it to be used in an intrusive_ptr<T>.
Definition at line 35 of file intrusive_ptr.h.