Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32base.h
Link against:

CleanupDeletePushL()

template <class T>
void CleanupDeletePushL(T* aPtr);

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 Delete() of the templated class CleanupDelete<class T> and is invoked as a result of a subsequent call to CleanupStack::PopAndDestroy().

Parameters

T* aPtr

A pointer to a <class T> type object.