123456789101112131415161718192021222324252627282930 |
- <!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>explicit basic_outcome(const basic_outcome<A, B, C, D> &) - 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/types/basic_outcome/explicit_valueorerror_converting_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
- <a accesskey="u" href="../../../reference/types/basic_outcome.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/types/basic_outcome/explicit_move_converting_constructor.html"><img src="../../../images/next.png" alt="Next"></a></div><div id="content">
- <div class="titlepage"><div><div><h1 style="clear: both"><code>explicit basic_outcome(const basic_outcome<A, B, C, D> &)</code></h1></div></div></div>
- <p>Explicit converting copy constructor from compatible <code>basic_outcome</code>. 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>
- with <code>this</code> and the input.</p>
- <p><em>Requires</em>: <code>predicate::enable_compatible_conversion<A, B, C, D></code> is true.</p>
- <p><em>Complexity</em>: Same as for the copy constructors of the underlying types. Constexpr, triviality and noexcept of underlying operations is propagated.</p>
- <p><em>Guarantees</em>: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a <code>struct</code>.</p>
- </div><p><small>Last revised: March 03, 2019 at 00:11:47 UTC</small></p>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="../../../reference/types/basic_outcome/explicit_valueorerror_converting_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
- <a accesskey="u" href="../../../reference/types/basic_outcome.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/types/basic_outcome/explicit_move_converting_constructor.html"><img src="../../../images/next.png" alt="Next"></a></div></body>
- </html>
|