Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32base.h>

Class CleanupArrayDelete

class CleanupArrayDelete;

Description

A utility class used by the templated function CleanupArrayDeletePushL(T *) to create a TCleanupItem item that will perform a delete type operation on an array of class T type objects.

Members

Defined in CleanupArrayDelete:


Member functions


PushL(T *)

static inline void PushL(T *aPtr);

Description

Creates a TCleanupItem for the specified array.

The cleanup operation is the private static function CleanupArrayDelete::ArrayDelete(TAny *) of this class, which deletes the specified array.

Parameters

T *aPtr

The array of class T type objects for which a TCleanupItem is to be constructed.