![]() |
This class implements implements a refernce counter which we can use as a public base of objects managed by . More...
#include <countedref.h>
Public Types | |
| typedef short | count_type |
| Name numerical type for enumbering. More... | |
Public Member Functions | |
| RefCounter (...) | |
| Any Constructor resets the counter. More... | |
| ~RefCounter () | |
| Destructor. More... | |
Private Attributes | |
| count_type | ref |
| Number of references. More... | |
Friends | |
| template<class , bool , bool , class > | |
| class | CountedRefPtr |
| Allow our smart pointer to access internals. More... | |
This class implements implements a refernce counter which we can use as a public base of objects managed by .
Definition at line 112 of file countedref.h.
| typedef short RefCounter::count_type |
Name numerical type for enumbering.
Definition at line 116 of file countedref.h.
|
inline |
|
inline |
|
friend |
Allow our smart pointer to access internals.
Definition at line 119 of file countedref.h.
|
private |
Number of references.
Definition at line 129 of file countedref.h.