What happens when an exception is thrown inside a destructor that is already executing due to stack unwinding?
-
A
The new exception replaces the original exception
-
B
std::terminate() is called
-
C
The destructor exception is silently ignored
-
D
The program enters an undefined state but continues