Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
CleanupDelete< T > Class Template Reference

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

#include <e32base.h>

Static Public Member Functions

static void PushL (T *aPtr)
 Creates a TCleanupItem for the specified object.
 

Detailed Description

template<class T>
class CleanupDelete< T >

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

See also
CleanupDeletePushL()
API status
Published to all clients. Released API.

Definition at line 3045 of file e32base.h.

Member Function Documentation

◆ PushL()

template<class T >
static void CleanupDelete< T >::PushL ( T *  aPtr)
inlinestatic

Creates a TCleanupItem for the specified object.

The cleanup operation is the private static function Delete() of this class, which deletes the specified object.

Parameters
aPtrThe object for which a TCleanupItem is to be constructed.

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: