According to §15.3 / 9:
If no matching handler is found in the program, the terminate () function is called ; regardless of whether the stack is broken before this call terminates () will be determined by implementation (15.5.1). Focus on
What happens after that before your OS. In practice: an accident. (Or, if you're in the debugger: “Hey, you didn't get that.”)
source
share