Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32base.h
Link against:

CleanupReleasePushL()

template <class T>
void CleanupReleasePushL(T& aRef);

Support

Supported from 5.0

Description

Constructs and pushes a TCleanupItem object onto the cleanup stack.

The TCleanupItem encapsulates:

The cleanup operation is the private static function Release() of the templated class CleanupRelease<class T> and is invoked as a result of a subsequent call to CleanupStack::PopAndDestroy().

Parameters

T& aRef

A reference to a <class T> type object.