TPointerFree Class Reference

#include <emanaged.h>

class TPointerFree
Public Member Functions
voidCleanup(TAny *)

Detailed Description

Strategy (policy) class that defines a cleanup strategy for pointer types. This cleanup strategy calls User::Free with the managed pointer.

See also: LCleanedupPtr to which this strategy type may be supplied as an (optional) second tamplate parameter LManagedPtr to which this strategy type may be supplied as an (optional) second tamplate parameter

Member Function Documentation

Cleanup ( TAny * )

voidCleanup(TAny *aPtr)[static, inline]