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 0da16e0695.
Prev Up HomeNext

BOOST_OUTCOME_THROW_EXCEPTION(expr)

Throws a C++ exception, or equivalent thereof.

Overridable: Define before inclusion.

Default:

Standalone Outcome (C++ exceptions enabled):
To throw expr
Standalone Outcome (C++ exceptions disabled):
To BOOST_OUTCOME_V2_NAMESPACE::detail::do_fatal_exit(#expr) which is a function which prints a useful error message including a stack backtrace (where available) to stderr before calling abort().
Boost.Outcome:
To BOOST_THROW_EXCEPTION(expr).

Header: <boost/outcome/config.hpp>

Last revised: December 12, 2018 at 22:01:42 UTC


Prev Up HomeNext