Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32base.h>

Class CleanupRelease

class CleanupRelease;

Description

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

Members

Defined in CleanupRelease:


Member functions


PushL(T &)

static inline void PushL(T &aRef);

Description

Creates a TCleanupItem for the specified object.

The cleanup operation is the private static function CleanupRelease::Release(TAny *) of this class.

Parameters

T &aRef

The object for which a TCleanupItem is to be constructed.