Say you're at the end of your program. All the work is done and you want to quit. But say that you’ve got some big objects laying around. If all you have to do in your destructors is de-allocate memory, I’ve re-discovered that you can avoid having your objects destroyed by calling exit(3) rather than returning from main. This really helped in my
(
Read more... )
Comments 3
(The comment has been removed)
Reply
Reply
Reply
Leave a comment