TResetAndDestroy Class Reference

class TResetAndDestroy

Strategy (policy) class that defines a cleanup strategy for managed resource class objects. This cleanup strategy calls the ResetAndDestroy() 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
voidCleanup(T *)

Member Functions Documentation

Cleanup(T *)

voidCleanup(T *aObjPtr)[static, inline]

Parameters

T * aObjPtr