<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/policy/outcome_throw_as_system_error_with_payload_std_enum.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(BoostErrorCodeEnum &&)</code></h1></div></div></div>
- <p>A specialisation of <code>outcome_throw_as_system_error_with_payload()</code> for types where <code>boost::system::errc::is_error_code_enum<BoostErrorCodeEnum></code> or <code>boost::system::errc::is_error_condition_enum<BoostErrorCodeEnum></code> is true. This executes <a href="../../../reference/macros/throw_exception.html" class="api-reference"><code>BOOST_OUTCOME_THROW_EXCEPTION(expr)</code></a>
+ <p>A specialisation of <code>outcome_throw_as_system_error_with_payload()</code> for types where <code>boost::system::is_error_code_enum<BoostErrorCodeEnum></code> or <code>boost::system::is_error_condition_enum<BoostErrorCodeEnum></code> is true. This executes <a href="../../../reference/macros/throw_exception.html" class="api-reference"><code>BOOST_OUTCOME_THROW_EXCEPTION(expr)</code></a>
with a <code>boost::system::system_error</code> constructed from the result of the ADL discovered free function <code>make_error_code(BoostErrorCodeEnum)</code>.</p>
<p><em>Overridable</em>: Argument dependent lookup.</p>
-<p><em>Requires</em>: Either <code>boost::system::errc::is_error_code_enum<T></code> or <code>boost::system::errc::is_error_condition_enum<T></code> to be true for a decayed <code>BoostErrorCodeEnum</code>.</p>
+<p><em>Requires</em>: Either <code>boost::system::is_error_code_enum<T></code> or <code>boost::system::is_error_condition_enum<T></code> to be true for a decayed <code>BoostErrorCodeEnum</code>.</p>
<p><em>Namespace</em>: <code>boost::system</code></p>
<p><em>Header</em>: <code><boost/outcome/boost_result.hpp></code></p>
- </div><p><small>Last revised: February 01, 2019 at 15:52:57 UTC</small></p>
+ </div><p><small>Last revised: August 13, 2019 at 13:55:04 -0400</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../../reference/functions/policy/exception_ptr.html"><img src="../../../images/prev.png" alt="Prev"></a>