Quote:
Originally Posted by
amitpansuria
can u explain me step by step why exception is not thrown from the destructor that fails with an example
Regards,
Amit
No, I'm saying that you shouldn't have code in your destructor that can fail.
If you can't achieve that then you handle then use try/catch in your destructor around the part that may fail.