Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Cleanup utilities

The cleanup utility functions offer easy ways of constructing a TCleanUpItem and pushing it onto the cleanup stack. They support three types of clean up operation:

The functions have three supporting templated classes:

The way in which these work is best illustrated graphically by taking CleanupClosePushL() as an example. See the diagram below.

Effect of CleanupClosePushL and subseque...

Effect of CleanupClosePushL and subsequent pop and destroy