ETL
0.04.19
|
Weak Reference counter. More...
#include <ETL/ref_count>
Public Member Functions | |
weak_reference_counter () | |
weak_reference_counter (const weak_reference_counter &x) | |
weak_reference_counter (const reference_counter &x) | |
~weak_reference_counter () | |
weak_reference_counter & | operator= (const reference_counter &rhs) |
weak_reference_counter & | operator= (const weak_reference_counter &rhs) |
void | detach () |
int | count () const |
bool | unique () const |
operator int () const |
Private Attributes | |
int * | counter_ |
Friends | |
class | reference_counter |
Weak Reference counter.
Definition at line 109 of file _ref_count.h.
|
inline |
Definition at line 115 of file _ref_count.h.
|
inline |
Definition at line 117 of file _ref_count.h.
|
inline |
Definition at line 119 of file _ref_count.h.
|
inline |
Definition at line 121 of file _ref_count.h.
|
inline |
Definition at line 123 of file _ref_count.h.
References reference_counter::counter_, and counter_.
|
inline |
Definition at line 130 of file _ref_count.h.
References counter_.
|
inline |
Definition at line 137 of file _ref_count.h.
References counter_.
|
inline |
|
inline |
Definition at line 141 of file _ref_count.h.
References counter_.
Referenced by loose_smart_ptr< T >::unique().
|
inline |
Definition at line 143 of file _ref_count.h.
References count().
|
friend |
Definition at line 111 of file _ref_count.h.
|
private |
Definition at line 113 of file _ref_count.h.
Referenced by count(), detach(), operator=(), and unique().