Base class for atomic_shared_ptr without intrusive counting, so-called "simple counted".
A global referece counter (an instance of atomic_shared_ptr_gref_) will be created.
More...
#include <atomic_smart_ptr.h>

Protected Types | |
| enum | { ATOMIC_SHARED_REF_ALIGNMENT = (sizeof(intptr_t)) } |
|
typedef atomic_shared_ptr_gref_< T > | Ref |
| typedef Ref::Refcnt | Refcnt |
Protected Member Functions | |
| template<typename Y , typename D > | |
| void | reset_unsafe (Y *y, D deleter) |
| T * | get () noexcept |
| const T * | get () const noexcept |
| int | _use_count_ () const noexcept |
Static Protected Member Functions | |
| static int | deleter (Ref *p) noexcept |
Protected Attributes | |
| reflocal_var_t | m_ref |
Base class for atomic_shared_ptr without intrusive counting, so-called "simple counted".
A global referece counter (an instance of atomic_shared_ptr_gref_) will be created.
Definition at line 83 of file atomic_smart_ptr.h.
|
inlineprotected |
can be used to initialize the internal pointer m_ref.
Definition at line 120 of file atomic_smart_ptr.h.
Referenced by local_shared_ptr< typename Transactional::Node< XNode >::Packet >::reset().
1.8.3