Archive for July 12th, 2009|Daily archive page

Resource Handling Rule 2: Instance data (data owned by an instance of a class) must never be pushed onto the Cleanup Stack.

Resource Handling Rule 1: Any locally scoped pointer to a heap-allocated object must be pushed onto the Cleanup Stack if there is a risk of a leave occurring and there is no other reference to the object elsewhere.