TDestroy Class Reference

class TDestroy

Strategy (policy) class that defines a cleanup strategy for managed resource class objects. This cleanup strategy calls the Destroy() member function of the managed class.

LCleanedupHandle to which this strategy type may be supplied as an (optional) second tamplate parameter LManagedHandle to which this strategy type may be supplied as an (optional) second tamplate parameter

Public Member Functions
void Cleanup (T *)

Member Functions Documentation

Cleanup(T *)

void Cleanup ( T * aObjPtr ) [static, inline]

Parameters

T * aObjPtr