• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>Version macros - 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/template.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/co_try.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
13  <div class="titlepage"><div><div><h1 style="clear: both">Version macros</h1></div></div></div>
14  <p><em>Overridable</em>: None of the following macros are overridable.</p>
15
16<p><em>Header</em>: <code>&lt;boost/outcome/config.hpp&gt;</code></p>
17
18<ul>
19<li><p><a name="version-major"></a><code>BOOST_OUTCOME_VERSION_MAJOR &lt;number&gt;</code></p>
20
21<p>Major version for cmake and DLL version stamping.</p></li>
22
23<li><p><a name="version-minor"></a><code>BOOST_OUTCOME_VERSION_MINOR &lt;number&gt;</code></p>
24
25<p>Minor version for cmake and DLL version stamping.</p></li>
26
27<li><p><a name="version-patch"></a><code>BOOST_OUTCOME_VERSION_PATCH &lt;number&gt;</code></p>
28
29<p>Patch version for cmake and DLL version stamping.</p></li>
30
31<li><p><a name="version-revision"></a><code>BOOST_OUTCOME_VERSION_REVISION &lt;number&gt;</code></p>
32
33<p>Revision version for cmake and DLL version stamping.</p></li>
34
35<li><p><a name="unstable-version"></a><code>BOOST_OUTCOME_UNSTABLE_VERSION &lt;number&gt;</code></p>
36
37<p>Defined between stable releases of Outcome. It means the inline namespace will be permuted per-commit to ensure ABI uniqueness such that multiple versions of Outcome in a single process space cannot collide.</p></li>
38
39<li><p><a name="v2"></a><code>BOOST_OUTCOME_V2 &lt;tokens&gt;</code></p>
40
41<p>The namespace configuration of this Outcome v2. Consists of a sequence of bracketed tokens later fused by the preprocessor into namespace and C++ module names.</p></li>
42
43<li><p><a name="v2-namespace"></a><code>BOOST_OUTCOME_V2_NAMESPACE &lt;identifier&gt;</code></p>
44
45<p>The Outcome namespace, which may be permuted per SHA commit. This is not fully qualified.</p></li>
46
47<li><p><a name="v2-namespace-begin"></a><code>BOOST_OUTCOME_V2_NAMESPACE_BEGIN &lt;keywords and identifiers&gt;</code></p>
48
49<p>Expands into the appropriate namespace markup to enter the Outcome v2 namespace.</p></li>
50
51<li><p><a name="v2-namespace-export-begin"></a><code>BOOST_OUTCOME_V2_NAMESPACE_EXPORT_BEGIN &lt;keywords and identifiers&gt;</code></p>
52
53<p>Expands into the appropriate namespace markup to enter the C++ module exported Outcome v2 namespace.</p></li>
54
55<li><p><a name="v2-namespace-end"></a><code>BOOST_OUTCOME_V2_NAMESPACE_END &lt;keywords and identifiers&gt;</code></p>
56
57<p>Expands into the appropriate namespace markup to exit the Outcome v2 namespace.</p></li>
58</ul>
59
60
61        </div><p><small>Last revised: December 12, 2018 at 22:01:42 UTC</small></p>
62<hr>
63<div class="spirit-nav">
64<a accesskey="p" href="../../reference/macros/template.html"><img src="../../images/prev.png" alt="Prev"></a>
65    <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
66    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/co_try.html"><img src="../../images/next.png" alt="Next"></a></div></body>
67</html>
68