devxlogo

October 25, 1999

Exception in Destructor

Question: If an exception is thrown in a destructor will the data objects in the class be destructed properly? Answer: Throwing an exception from a destructor is a bad idea