#include "oct-refcount.h"
Public Types | |
typedef T | count_type |
Public Member Functions | |
refcount (const refcount &)=delete | |
refcount (count_type initial_count) | |
~refcount (void)=default | |
operator count_type (void) const | |
count_type | operator++ (int) |
count_type | operator++ (void) |
count_type | operator-- (int) |
count_type | operator-- (void) |
refcount & | operator= (const refcount &)=delete |
count_type | value (void) const |
Private Attributes | |
std::atomic< T > | m_count |
Definition at line 38 of file oct-refcount.h.
typedef T refcount< T >::count_type |
Definition at line 42 of file oct-refcount.h.
|
inline |
Definition at line 44 of file oct-refcount.h.
|
inline |
Definition at line 80 of file oct-refcount.h.
References refcount< T >::value().
|
inline |
Definition at line 60 of file oct-refcount.h.
References refcount< T >::m_count.
|
inline |
Definition at line 55 of file oct-refcount.h.
References refcount< T >::m_count.
|
inline |
Definition at line 70 of file oct-refcount.h.
References refcount< T >::m_count.
|
inline |
Definition at line 65 of file oct-refcount.h.
References refcount< T >::m_count.
|
inline |
Definition at line 75 of file oct-refcount.h.
References refcount< T >::m_count.
Referenced by refcount< T >::operator count_type().
|
private |
Definition at line 87 of file oct-refcount.h.
Referenced by refcount< T >::operator++(), refcount< T >::operator--(), and refcount< T >::value().