Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32base.h
Link against:

CleanupClosePushL()

template <class T>
void CleanupClosePushL(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 Close() of the templated class CleanupClose<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.