Loki::HeapStorage< T > Class Template Reference
[Storage policies]

#include <SmartPtr.h>

List of all members.

Public Types

typedef T * StoredType
typedef T * InitPointerType
 the type of the pointee_ object
typedef T * PointerType
 type used to declare OwnershipPolicy type.
typedef T & ReferenceType
 type returned by operator->

Public Member Functions

 HeapStorage ()
 type returned by operator*
 HeapStorage (const HeapStorage &)
template<class U>
 HeapStorage (const HeapStorage< U > &)
 HeapStorage (const StoredType &p)
PointerType operator-> () const
ReferenceType operator * () const
void Swap (HeapStorage &rhs)

Protected Member Functions

void Destroy ()

Static Protected Member Functions

static StoredType Default ()

Detailed Description

template<class T>
class Loki::HeapStorage< T >

Implementation of the StoragePolicy used by SmartPtr. Uses explicit call to T's destructor followed by call to free.

Definition at line 67 of file SmartPtr.h.

The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:47 2007 for Loki by  doxygen 1.5.1-p1