The stack is not unwound before std::terminate is called.
© Free Software FoundationLicensed under the GNU Free Documentation License, Version 1.3. https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Exception-handling.html