CleanupDelete Class Reference

#include <e32base.h>

class CleanupDelete
Public Member Functions
voidPushL(T *)

Detailed Description

A utility class used by the templated function CleanupDeletePushL() to create a TCleanupItem item that will perform a delete type operation on the class T type object.

See also: CleanupDeletePushL()

Member Function Documentation

PushL ( T * )

voidPushL(T *aPtr)[static, inline]

Creates a TCleanupItem for the specified object.

The cleanup operation is the private static function Delete() of this class, which deletes the specified object.

Parameters
aPtrThe object for which a TCleanupItem is to be constructed.