TDestroy Class Reference

#include <emanaged.h>

class TDestroy
Public Member Functions
voidCleanup(T *)

Detailed Description

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.

See also: 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

Member Function Documentation

Cleanup ( T * )

voidCleanup(T *aObjPtr)[static, inline]