Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32base.h>

Class CleanupDelete

class CleanupDelete;

Description

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

Members

Defined in CleanupDelete:


Member functions


PushL(T *)

static inline void PushL(T *aPtr);

Description

Creates a TCleanupItem for the specified object.

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

Parameters

T *aPtr

The object for which a TCleanupItem is to be constructed.