17 #ifndef HH_SENF_Utils_intrusive_refcount_ 18 #define HH_SENF_Utils_intrusive_refcount_ 1 21 #include <boost/noncopyable.hpp> 42 :
public boost::noncopyable
61 template <
class S>
void intrusive_ptr_add_ref();
62 template <
class S>
void intrusive_ptr_release();
116 template <
class Self>
void intrusive_ptr_release(intrusive_refcount_t< Self > const *p)
Reference count mixin for intrusive_ptr.
bool is_shared() const
return true if refcount() > 1
intrusive_refcount_base()
Customizable reference count mixin for intrusive_ptr.
unsigned refcount_t
reference count type
Reference count mixin interface baseclass.
virtual ~intrusive_refcount_base()
void intrusive_ptr_add_ref(intrusive_refcount_t< Self > const *p)
refcount_t refcount() const
current refcount