Original Post
I have a resource manager that at it''s core uses an stl map to store resources. When an object''s ref count reaches zero I .erase() the element.
When my application ends as a sanity check I''d like to check to ensure all resources are already released. I cannot check the .size() or .empty() as the elements are merely cleaned but the nodes remain.
How do I move forward here to ensure that all my resources really are released? What can I check in the map?
Many thanks,
Chris Brodie
http:\\fourth.flipcode.com