12345678910111213141516171819202122232425262728293031323334 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>void outcome_throw_as_system_error_with_payload(const std::error_code &) - Boost.Outcome documentation</title>
- <link rel="stylesheet" href="../../../css/boost.css" type="text/css">
- <meta name="generator" content="Hugo 0.52 with Boostdoc theme">
- <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
- <link rel="icon" href="../../../images/favicon.ico" type="image/ico"/>
- <body><div class="spirit-nav">
- <a accesskey="p" href="../../../reference/functions/policy/outcome_throw_as_system_error_with_payload_boost_error_code.html"><img src="../../../images/prev.png" alt="Prev"></a>
- <a accesskey="u" href="../../../reference/functions/policy.html"><img src="../../../images/up.png" alt="Up"></a>
- <a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../../../reference/functions/failure.html"><img src="../../../images/next.png" alt="Next"></a></div><div id="content">
- <div class="titlepage"><div><div><h1 style="clear: both"><code>void outcome_throw_as_system_error_with_payload(const std::error_code &)</code></h1></div></div></div>
- <p>A specialisation of <code>outcome_throw_as_system_error_with_payload()</code> for <code>std::error_code</code>. This executes <a href="../../../reference/macros/throw_exception.html" class="api-reference"><code>BOOST_OUTCOME_THROW_EXCEPTION(expr)</code></a>
- with a
- <a href="https://en.cppreference.com/w/cpp/error/system_error" class="api-reference" target="_blank"><i class="fa fa-book" aria-hidden="true"></i> <code>std::system_error</code></a>
- constructed from the input.</p>
- <p><em>Overridable</em>: Argument dependent lookup.</p>
- <p><em>Requires</em>: Nothing.</p>
- <p><em>Namespace</em>: <code>std</code></p>
- <p><em>Header</em>: <code><boost/outcome/std_result.hpp></code></p>
- </div><p><small>Last revised: February 01, 2019 at 15:52:57 UTC</small></p>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="../../../reference/functions/policy/outcome_throw_as_system_error_with_payload_boost_error_code.html"><img src="../../../images/prev.png" alt="Prev"></a>
- <a accesskey="u" href="../../../reference/functions/policy.html"><img src="../../../images/up.png" alt="Up"></a>
- <a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../../../reference/functions/failure.html"><img src="../../../images/next.png" alt="Next"></a></div></body>
- </html>
|