Classes | Namespaces | Defines | Functions

C:/knet/include/kNet/SharedPtr.h File Reference

SharedPtr, intrusive reference counting for multiple pointer owners. More...

#include <malloc.h>
#include <cstdlib>
#include <cassert>
#include "kNet/SharedPtr.inl"
Include dependency graph for SharedPtr.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

SharedPtr, intrusive reference counting for multiple pointer owners.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines