Loki  0.1.7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
Loki::DeleteSingle< P > Class Template Reference

#include <StrongPtr.h>

Static Public Member Functions

static void Delete (const P *p)
 

Detailed Description

template<class P>
class Loki::DeleteSingle< P >

Implementation of the DeletePolicy used by StrongPtr. This deletes just one shared object. This is the default class for the DeletePolicy.

Member Function Documentation

template<class P >
static void Loki::DeleteSingle< P >::Delete ( const P *  p)
inlinestatic
Note
If you see an error message about a negative subscript, that means your are attempting to use Loki to delete an incomplete type. Please don't use this policy with incomplete types; you may want to use DeleteNothing instead.

The documentation for this class was generated from the following file: