#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 |
Definition at line 109 of file _ref_count.h.
| weak_reference_counter::weak_reference_counter | ( | ) | [inline] |
Definition at line 115 of file _ref_count.h.
| weak_reference_counter::weak_reference_counter | ( | const weak_reference_counter & | x | ) | [inline] |
Definition at line 117 of file _ref_count.h.
| weak_reference_counter::weak_reference_counter | ( | const reference_counter & | x | ) | [inline] |
Definition at line 119 of file _ref_count.h.
| weak_reference_counter::~weak_reference_counter | ( | ) | [inline] |
Definition at line 121 of file _ref_count.h.
| weak_reference_counter& weak_reference_counter::operator= | ( | const reference_counter & | rhs | ) | [inline] |
| weak_reference_counter& weak_reference_counter::operator= | ( | const weak_reference_counter & | rhs | ) | [inline] |
| void weak_reference_counter::detach | ( | ) | [inline] |
| int weak_reference_counter::count | ( | ) | const [inline] |
| bool weak_reference_counter::unique | ( | ) | const [inline] |
Definition at line 141 of file _ref_count.h.
References counter_.
Referenced by loose_smart_ptr< T >::unique().
| weak_reference_counter::operator int | ( | ) | const [inline] |
friend class reference_counter [friend] |
Definition at line 111 of file _ref_count.h.
int* weak_reference_counter::counter_ [private] |
Definition at line 113 of file _ref_count.h.
Referenced by count(), detach(), operator=(), and unique().
1.5.2