-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Channel
C++Weekly
Topics
How to safely and effectively cause (abnormal) termination of a program when something goes wrong.
- std::terminate? std::abort? std::exit? std::quick_exit?
- assert?
- throw unhandled exception?
- cause processor exception (many ways people try to do this involve UB eg dereferencing a null pointer)
- other?
Also - how to test this?
Length
Not sure. Long form? Multi part? There's probably a lot to cover here.
Dharmesh946, fcolecumberri, bramtechs, JoyOfMadness, vzze and 4 more