Loading...
Searching...
No Matches
Classes | Namespaces
pointer.h File Reference

Pointer wrapper that takes both shared and non-shared pointers. If the pointer is 'managed' then the pointer is deleted when the reference count hits zero. By default a pointer is not managed unless a shared ptr is assigned or it is explicitely marked as managed during construction. More...

#include <ostream>
#include <memory>
#include "util/typestring.h"

Go to the source code of this file.

Classes

class  pointer< T >
 Pointer wrapper that takes handle both shared as well as regular (unmanaged) pointers. More...
 

Namespaces

namespace  bbm
 

Detailed Description

Pointer wrapper that takes both shared and non-shared pointers. If the pointer is 'managed' then the pointer is deleted when the reference count hits zero. By default a pointer is not managed unless a shared ptr is assigned or it is explicitely marked as managed during construction.