Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / outcome / doc / html / reference / types / basic_result / explicit_inplace_value_constructor.html
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>explicit basic_result(in_place_type_t&lt;value_type_if_enabled&gt;, Args &hellip;) - 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"/>
7
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_result/explicit_make_exception_ptr_move_converting_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
11     <a accesskey="u" href="../../../reference/types/basic_result.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_result/explicit_inplace_value_constructor_il.html"><img src="../../../images/next.png" alt="Next"></a></div><div id="content">
13   <div class="titlepage"><div><div><h1 style="clear: both"><code>explicit basic_result(in_place_type_t&lt;value_type_if_enabled&gt;, Args ...)</code></h1></div></div></div>
14   <p>Explicit inplace value constructor. Calls <a href="../../../reference/functions/hooks/hook_result_in_place_construction.html" class="api-reference"><code>void hook_result_in_place_construction(T *, in_place_type_t&lt;U&gt;, Args &amp;&amp;...) noexcept</code></a>
15  with <code>this</code>, <code>in_place_type&lt;value_type&gt;</code> and <code>Args ...</code>.</p>
16
17 <p><em>Requires</em>: <code>predicate::enable_inplace_value_constructor&lt;Args ...&gt;</code> is true.</p>
18
19 <p><em>Complexity</em>: Same as for the <code>value_type</code> constructor which accepts <code>Args ...</code>. Constexpr, triviality and noexcept of underlying operations is propagated.</p>
20
21 <p><em>Guarantees</em>: If an exception is thrown during the operation, the state of the Args is left indeterminate.</p>
22
23
24         </div><p><small>Last revised: January 21, 2019 at 18:00:41 UTC</small></p>
25 <hr>
26 <div class="spirit-nav">
27 <a accesskey="p" href="../../../reference/types/basic_result/explicit_make_exception_ptr_move_converting_constructor.html"><img src="../../../images/prev.png" alt="Prev"></a>
28     <a accesskey="u" href="../../../reference/types/basic_result.html"><img src="../../../images/up.png" alt="Up"></a>
29     <a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../../../reference/types/basic_result/explicit_inplace_value_constructor_il.html"><img src="../../../images/next.png" alt="Next"></a></div></body>
30 </html>