That's when I recall the dtor getting called in C++ programs...But that's from nigh on 10 years ago, when I was in college.
Mother fuck, has it been almost 10 years since I graduated from college? I'm getting old.
-YendorMike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759 Historical Review of Pennsylvania
That means in every case that I call my_die, I have to put the delete in, OR, I have to create a global (achh phhtt) in order for my_die() to be able to get it.
Which is what I've done, but I'm not happy about it. (the global)