C++11 destructors are noexcept by default, so the prior definition always called std::terminate without allowing anything to catch the exception.
C++11 destructors are noexcept by default, so the prior definition always called std::terminate without allowing anything to catch the exception.