Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++noexceptSingle-choice MCQ

Which statement about destructor exception specifications in modern C++ is correct?

struct A { ~A() {} }; // (1) struct B { ~B() noexcept(false) {} }; // (2)