5 #ifndef SRC_BASE_INTRUSIVE_PTR_BACK_REF_H_
6 #define SRC_BASE_INTRUSIVE_PTR_BACK_REF_H_
8 #include <boost/intrusive_ptr.hpp>
40 : boost::intrusive_ptr<D>(rhs),
referrer_(referrer) {
73 boost::intrusive_ptr<D>::swap(rhs);
94 #endif // SRC_BASE_INTRUSIVE_PTR_BACK_REF_H_
virtual ~IntrusivePtrRef()
std::pair< void *, void * > IntrusiveReferrer
void intrusive_ptr_del_back_ref(const IntrusiveReferrer ref, const Interface *p)
IntrusivePtrRef(D *data, void *referrer)
IntrusivePtrRef & operator=(IntrusivePtrRef const &rhs)
void swap(IntrusivePtrRef &rhs)
IntrusivePtrRef & operator=(D *rhs)
IntrusivePtrRef(IntrusivePtrRef const &rhs, void *referrer)
void intrusive_ptr_add_back_ref(const IntrusiveReferrer ref, const Interface *p)