Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

quick_exit

Header <boost/core/quick_exit.hpp>

Authors

  • Peter Dimov

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;
}

PrevUpHomeNext