Daily bit(e) of C++ | std::quick_exit, std::at_quick_exit, std::_Exit
Daily bit(e) of C++ #434, Exiting a process without calling destructors and raising the SIGABRT signal using std::quick_exit and std::_Exit.
The std::_Exit function can be used to exit a process without invoking destructors and without raising the SIGABRT signal.
The standard also offers std::quit_exit, which additionally calls the functions registered through std::at_quick_exit, after which it calls std::_Exit.
But why would one want to exit without invoking destructors? No Security issue here?