The article has abstracted the fundamental points of CleanupStack and mentioned here. The elementary features of cleanupStack and basic things should be kept in mind while using it are illustrated in this article.
The article can be advantages to beginners only.
This article addresses the use of the Cleanup Stack in Symbian C++. Symbian C++ does not provide garbage collection in the manner that other languages such as Java (including Java ME) does, so some of the responsibility for avoiding memory leaks is left to the programmer. This article gives a very good overview of the use of the Cleanup Stack in Symbian C++, with the author demonstrating a good understanding of the subject matter.
All aspects of the use of the Cleanup Stack are addressed, beginning with a motivation of why it is necessary (i.e. how are memory leaks possible). Instead of just demonstrating how to use the CleanupStack, the author provides enough background to understand how the Cleanup Stack works. The author also provides a good overview of possible pitfalls and when NOT to use the Cleanup Stack (such as not pushing class member variables onto the stack).
One of the better articles I have read on this topic. The explanation was simple enough even for relative newcomers to Symbian C++ to understand, which is important, as this is a fundamental concept for anybody targeting the Symbian C++ platform.
Tinashe - Good ApproachThis article gives information about the Cleanup Stack in a very simple way. Anyone can understand that. It is simple but it gives light even to advanced programmers
14:21, 24 August 2012 (EEST)