klee
|
Reference counter to be used as part of a ref-managed struct or class. More...
#include <Ref.h>
Public Member Functions | |
ReferenceCounter ()=default | |
~ReferenceCounter ()=default | |
ReferenceCounter (const ReferenceCounter &) | |
unsigned | getCount () |
ReferenceCounter & | operator= (const ReferenceCounter &a) |
ReferenceCounter (ReferenceCounter &&r) noexcept=delete | |
ReferenceCounter & | operator= (ReferenceCounter &&other) noexcept=delete |
Private Attributes | |
unsigned | refCount = 0 |
Count how often the object has been referenced. More... | |
Friends | |
template<class T > | |
class | ref |
Reference counter to be used as part of a ref-managed struct or class.
|
default |
|
default |
|
inline |
|
deletenoexcept |
|
inline |
|
inline |
|
deletenoexcept |
|
private |
Count how often the object has been referenced.
Definition at line 51 of file Ref.h.
Referenced by getCount(), and operator=().