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

void outcome_throw_as_system_error_with_payload(const std::error_code &)

A specialisation of outcome_throw_as_system_error_with_payload() for std::error_code. This executes BOOST_OUTCOME_THROW_EXCEPTION(expr) with a std::system_error constructed from the input.

Overridable: Argument dependent lookup.

Requires: Nothing.

Namespace: std

Header: <boost/outcome/std_result.hpp>

Last revised: February 01, 2019 at 15:52:57 UTC


Prev Up HomeNext