SharedPtr, intrusive reference counting for multiple pointer owners. More...
#include <malloc.h>#include <cstdlib>#include <cassert>#include "kNet/SharedPtr.inl"

Go to the source code of this file.
Classes | |
| class | kNet::RefCountable |
| Objects that require reference count tracking derive publicly from this. More... | |
| class | kNet::SharedPtr< T > |
| SharedPtr is an intrusive refcount-tracked single-object lifetime-manager. More... | |
Namespaces | |
| namespace | kNet |
Defines | |
| #define | Ptr(type) kNet::SharedPtr< type > |
| Smart pointer for dynamic single object allocations on the heap. | |
Functions | |
| template<typename T > | |
| bool | kNet::operator== (const SharedPtr< T > &a, const SharedPtr< T > &b) |
| Equality comparison for two SharedPtr. | |
SharedPtr, intrusive reference counting for multiple pointer owners.
1.7.1