I never understood that set a deleted object pointer to 0 advice. But I'm shure it doesn't make any sense to do that in a destructor. If you delete an object that holds a pointer to another object then this object is gone. If you delete that same object again then to protect from deleting the contained object is too late.
Kurt



LinkBack URL
About LinkBacks


