[MECpp]Item-11 Prevent Exceptions From Leaving Destructors
· โ 2 min read
Keep exceptions from propagating out of destructors to prevent C++ calling terminate
during the statck-unwinding part of exception propagation and ensure that every neccessary cleanup is accomplished.