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 a snapshot of the develop branch, built from commit 549cd0dc90.
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