Loki::DeleteUsingFree< P > Class Template Reference
[Delete policies]

#include <StrongPtr.h>

List of all members.

Public Member Functions

void Swap (DeleteUsingFree &)

Static Public Member Functions

static void Delete (const P *p)
static P * Default (void)
 Provides default value to initialize the pointer.


Detailed Description

template<class P>
class Loki::DeleteUsingFree< P >

Implementation of the DeletePolicy used by StrongPtr. Uses explicit call to T's destructor followed by call to free. This policy is useful for managing the lifetime of pointers to structs returned by C functions.

Definition at line 127 of file StrongPtr.h.


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