#include "thread.h"
#include <boost/tr1/memory.hpp>
#include <boost/intrusive_ptr.hpp>
Go to the source code of this file.
Classes | |
class | RefCnt |
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.
void intrusive_ptr_add_ref | ( | T * | x | ) | [inline] |
Implementation of intrusive_ptr_add_ref, which is needed for any class that you use with Boost's intrusive_ptr.
void intrusive_ptr_release | ( | T * | x | ) | [inline] |
Implementation of intrusive_ptr_release, which is needed for any class that you use with Boost's intrusive_ptr.