
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 and you should avoid it. The problem is that the destructor may be invoked due to another exception (as part