#include <PrivatePtr.h>
Public Types | |
typedef PointedT * | InnerPointerType |
The type of the inner member to hold in PrivatePtr. | |
Static Public Member Functions | |
static const InnerPointerType | getNullValue () |
Return an InnerPointerType repressenting a null value. | |
static PointedT * | getPointer (const InnerPointerType &inner) |
Convert InnerPointerType to a naked PointedT. | |
static void | destroy (InnerPointerType &inner) |
Destroy the inner value (and set null). |
This default traits class make PrivatePtr work like std::auto_ptr. Other Traits classes can derive from this and only customize some of the functions.
Definition at line 37 of file PrivatePtr.h.