DeletePolicy< T > Class Template Reference

#include <Pt/SmartPtr.h>

Deleter policy for SmartPtr. More...

Inherited by AutoPtr< Pt::Gfx::Font >, AutoPtr< Pt::Gfx::Brush >, AutoPtr< Pt::Gfx::Pen >, AutoPtr< Pt::Gfx::Color >, SmartPtr< IConnection, InternalRefCounted< IConnection > >, SmartPtr< ICursor, InternalRefCounted< ICursor > >, SmartPtr< IStatement, InternalRefCounted< IStatement > >, SmartPtr< Pt::Db::IResult, InternalRefCounted< Pt::Db::IResult > >, SmartPtr< Pt::Db::IRow, InternalRefCounted< Pt::Db::IRow > >, SmartPtr< Pt::Db::IStatement, InternalRefCounted< Pt::Db::IStatement > >, SmartPtr< Pt::Db::IValue, InternalRefCounted< Pt::Db::IValue > >, SmartPtr< BrushData >, SmartPtr< FontData >, SmartPtr< FontFaceData >, SmartPtr< PathData >, SmartPtr< PenData >, AutoPtr< T, Destroy >, and SmartPtr< T, OwnershipPolicy, DestroyPolicy >.

Detailed Description

template<typename T>
class Pt::DeletePolicy< T >

The DeletePolicy implements the method, which instructs the SmartPtr to free the object which it helds by deleting it.