outcome/doc/html/reference/policies/base/exception.html
2019-12-01 13:32:32 +00:00

30 lines
2.1 KiB
HTML

<!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>static auto &amp;&amp;_exception(Impl &amp;&amp;) noexcept - 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/policies/base/error.html"><img src="../../../images/prev.png" alt="Prev"></a>
<a accesskey="u" href="../../../reference/policies/base.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/policies/base/set_has_value.html"><img src="../../../images/next.png" alt="Next"></a></div><div id="content">
<div class="titlepage"><div><div><h1 style="clear: both"><code>static auto &amp;&amp;_exception(Impl &amp;&amp;) noexcept</code></h1></div></div></div>
<p>Returns a reference to the exception in the implementation passed in. No checking is done to ensure there is an error. Constexpr where possible.</p>
<p><em>Requires</em>: Always available.</p>
<p><em>Complexity</em>: Constant time.</p>
<p><em>Guarantees</em>: Never throws an exception.</p>
</div><p><small>Last revised: January 22, 2019 at 01:11:40 UTC</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../../reference/policies/base/error.html"><img src="../../../images/prev.png" alt="Prev"></a>
<a accesskey="u" href="../../../reference/policies/base.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/policies/base/set_has_value.html"><img src="../../../images/next.png" alt="Next"></a></div></body>
</html>