1[/ 2 Copyright 2018 Peter Dimov 3 4 Distributed under the Boost Software License, Version 1.0. 5 6 See accompanying file LICENSE_1_0.txt 7 or copy at http://boost.org/LICENSE_1_0.txt 8] 9 10[section:quick_exit quick_exit] 11 12[simplesect Authors] 13 14* Peter Dimov 15 16[endsimplesect] 17 18[section Header <boost/core/quick_exit.hpp>] 19 20The header `<boost/core/quick_exit.hpp>` defines the function 21`void boost::quick_exit(int code)`. It calls the standard C++11 function 22[@https://en.cppreference.com/w/cpp/utility/program/quick_exit 23 `std::quick_exit(code)`], if that is available, and otherwise exits the 24 process via [@https://en.cppreference.com/w/cpp/utility/program/_Exit 25 `std::_Exit(code)`] or equivalent. 26 27[section Synopsis] 28 29`` 30namespace boost 31{ 32 [[noreturn]] void quick_exit(int code) noexcept; 33} 34`` 35 36[endsect] 37 38[endsect] 39 40[endsect] 41