diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-0970A970-6E56-556C-B032-B7EAF8ABBBA6.dita --- a/Symbian3/PDK/Source/GUID-0970A970-6E56-556C-B032-B7EAF8ABBBA6.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-0970A970-6E56-556C-B032-B7EAF8ABBBA6.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,33 +1,33 @@ - - - - - -How -to use CleanupReleasePushL()CleanupReleasePushL() pushes a TCleanupItem onto -the cleanup stack ready for CleanupStack::PopAndDestroy() to -release. -

The CleanupReleasePushL() templated function constructs -and pushes a TCleanupItem onto the cleanup stack. When CleanupStack::PopAndDestroy() is -called, the Release() member function of the object encapsulated -by the TCleanupItem is called.

-... -RTestThree three; -CleanupReleasePushL(three); -... -CleanupStack::PopAndDestroy(); -... - -

The TCleanupItem object encapsulates a reference to the RTestThree object; -the cleanup operation is the static function Release() of -the templated class CleanupRelease<class T>. This is implemented -by simply calling the Release() member function of RTestThree. -This means that RTestThree must define or inherit a member -function Release() which performs whatever clean up is required.

+ + + + + +How +to use CleanupReleasePushL()CleanupReleasePushL() pushes a TCleanupItem onto +the cleanup stack ready for CleanupStack::PopAndDestroy() to +release. +

The CleanupReleasePushL() templated function constructs +and pushes a TCleanupItem onto the cleanup stack. When CleanupStack::PopAndDestroy() is +called, the Release() member function of the object encapsulated +by the TCleanupItem is called.

+... +RTestThree three; +CleanupReleasePushL(three); +... +CleanupStack::PopAndDestroy(); +... + +

The TCleanupItem object encapsulates a reference to the RTestThree object; +the cleanup operation is the static function Release() of +the templated class CleanupRelease<class T>. This is implemented +by simply calling the Release() member function of RTestThree. +This means that RTestThree must define or inherit a member +function Release() which performs whatever clean up is required.

\ No newline at end of file