Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / outcome / doc / html / reference / macros / in_place_type.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>BOOST_OUTCOME_USE_STD_IN_PLACE_TYPE - 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/macros/try_failure_likely.html"><img src="../../images/prev.png" alt="Prev"></a>
11     <a accesskey="u" href="../../reference/macros.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/macros/is_nothrow_swappable.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
13   <div class="titlepage"><div><div><h1 style="clear: both"><code>BOOST_OUTCOME_USE_STD_IN_PLACE_TYPE</code></h1></div></div></div>
14   <p>How to implement <a href="../../reference/types/in_place_type_t.html" class="api-reference"><code>in_place_type_t&lt;T&gt;</code></a>
15  and <code>in_place_type&lt;T&gt;</code>.</p>
16
17 <p>If set to <code>1</code>, the <code>&lt;utility&gt;</code> header is included, and <code>std::in_place_type_t&lt;T&gt;</code>
18 is aliased into <code>BOOST_OUTCOME_V2_NAMESPACE::in_place_type_t&lt;T&gt;</code> along with
19 <code>std::in_place_type&lt;T&gt;</code>.</p>
20
21 <p>If set to <code>0</code>, a local emulation is used.</p>
22
23 <p><em>Overridable</em>: Define before inclusion.</p>
24
25 <p><em>Default</em>: If the current compiler implements C++ 17 or later, if unset
26 this macro is defaulted to <code>1</code>, otherwise it is defaulted to <code>0</code>.</p>
27
28 <p><em>Header</em>: <code>&lt;boost/outcome/config.hpp&gt;</code></p>
29
30
31         </div><p><small>Last revised: January 30, 2019 at 16:16:10 UTC</small></p>
32 <hr>
33 <div class="spirit-nav">
34 <a accesskey="p" href="../../reference/macros/try_failure_likely.html"><img src="../../images/prev.png" alt="Prev"></a>
35     <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
36     <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/is_nothrow_swappable.html"><img src="../../images/next.png" alt="Next"></a></div></body>
37 </html>