#include <emanaged.h>
class TResourceCleanupStrategy |
Public Member Functions | |
---|---|
void | Cleanup(T *) |
Strategy (policy) class that defines the default cleanup strategy for managed resource class objects.
The default cleanup strategy is to call the cleanup member function of the managed class, which is the Close() member function of the managed class, unless explicitly defined otherwise, for example by using the provided DEFINE_CLEANUP_FUNCTION macro.