Macro KFR_CLASS_REFCOUNT¶
macro KFR_CLASS_REFCOUNT meta¶
KFR_CLASS_REFCOUNT(cl) \
public: \
void addref() const { m_refcount++; } \
void release() const \
{ \
if (--m_refcount == 0) \
{ \
delete this; \
} \
} \
private: \
mutable std::atomic_uintptr_t m_refcount = ATOMIC_VAR_INIT(0); Fully qualified name: KFR_CLASS_REFCOUNT
Declared at meta/memory.hpp:296
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.