Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
RefCount.hpp File Reference
#include <boost/intrusive_ptr.hpp>
#include <atomic>
Include dependency graph for RefCount.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  toolbox::util::ThreadSafePolicy
 
struct  toolbox::util::ThreadUnsafePolicy
 
class  toolbox::util::RefCount< DerivedT, PolicyT >
 Base class for atomic referenced counted objects. More...
 

Namespaces

namespace  toolbox
 
namespace  toolbox::util
 

Functions

template<typename DerivedT , typename PolicyT >
void toolbox::util::intrusive_ptr_add_ref (const RefCount< DerivedT, PolicyT > *ptr) noexcept
 
template<typename DerivedT , typename PolicyT >
void toolbox::util::intrusive_ptr_release (const RefCount< DerivedT, PolicyT > *ptr) noexcept
 
template<typename ValueT , typename... ArgsT>
boost::intrusive_ptr< ValueTtoolbox::util::make_intrusive (ArgsT &&... args)