...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The header <boost/core/quick_exit.hpp>
defines the function void boost::quick_exit(int code)
. It calls the standard C++11 function std::quick_exit(code)
,
if that is available, and otherwise exits the process via std::_Exit(code)
or equivalent.
namespace boost { [[noreturn]] void quick_exit(int code) noexcept; }