1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
3 <title>basic_outcome(const failure_type<EP> &) - Boost.Outcome documentation</title>
4 <link rel="stylesheet" href="../../../css/boost.css" type="text/css">
5 <meta name="generator" content="Hugo 0.52 with Boostdoc theme">
6 <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
8 <link rel="icon" href="../../../images/favicon.ico" type="image/ico"/>
9 <body><div class="spirit-nav">
10 <a accesskey="p" href="../../../reference/types/basic_outcome/implicit_failure_error_make_error_code_move_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
11 <a accesskey="u" href="../../../reference/types/basic_outcome.html"><img src="../../../images/up.png" alt="Up"></a>
12 <a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../../../reference/types/basic_outcome/implicit_failure_exception_move_constructor.html"><img src="../../../images/next.png" alt="Next"></a></div><div id="content">
13 <div class="titlepage"><div><div><h1 style="clear: both"><code>basic_outcome(const failure_type<EP> &)</code></h1></div></div></div>
14 <p>Implicit exception-from-failure-type-sugar copy constructor used to disambiguate the construction of the exception type.
15 Calls <a href="../../../reference/functions/hooks/hook_outcome_copy_construction.html" class="api-reference"><code>void hook_outcome_copy_construction(T *, U &&) noexcept</code></a>
16 with <code>this</code> and <code>const failure_type<EP> &</code>.</p>
18 <p><em>Requires</em>: <code>predicate::enable_compatible_conversion<void, void, EP, void></code> is true.</p>
20 <p><em>Complexity</em>: Same as for the <code>exception_type</code> constructor which accepts <code>EP</code>. Constexpr, triviality and noexcept of underlying operations is propagated.</p>
23 </div><p><small>Last revised: January 31, 2019 at 01:07:35 UTC</small></p>
25 <div class="spirit-nav">
26 <a accesskey="p" href="../../../reference/types/basic_outcome/implicit_failure_error_make_error_code_move_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
27 <a accesskey="u" href="../../../reference/types/basic_outcome.html"><img src="../../../images/up.png" alt="Up"></a>
28 <a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../../../reference/types/basic_outcome/implicit_failure_exception_move_constructor.html"><img src="../../../images/next.png" alt="Next"></a></div></body>