• 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>Advanced - 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="../tutorial/essential/conventions.html"><img src="../images/prev.png" alt="Prev"></a>
11    <a accesskey="u" href="../tutorial.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="../tutorial/advanced/payload.html"><img src="../images/next.png" alt="Next"></a></div><div id="content">
13
14  <div class="titlepage"><div><div><h1 style="clear: both">Advanced</h1></div></div></div>
15<ol class="children children-li"><li>
16	<a href="../tutorial/advanced/payload.html" >Custom payloads</a>
17<p>Success-or-failure return types where extra information in addition to the error code accompanies failure.</p><ol><li>
18	<a href="../tutorial/advanced/payload/copy_file.html" >The Filesystem TS</a><li>
19	<a href="../tutorial/advanced/payload/copy_file2.html" >Upgrading the Filesystem TS</a><li>
20	<a href="../tutorial/advanced/payload/copy_file3.html" >Auto-throwing filesystem_error</a></li></ol><li>
21	<a href="../tutorial/advanced/constructors.html" >Result returning constructors</a>
22<p>How to metaprogram construction of objects which use result<T, EC> to return failure instead of throwing a C++ exception.</p><ol><li>
23	<a href="../tutorial/advanced/constructors/two-phase-init.html" >Two phase construction</a><li>
24	<a href="../tutorial/advanced/constructors/file_handle.html" >A file handle</a><li>
25	<a href="../tutorial/advanced/constructors/static-constructor.html" >Phase 2 construction</a><li>
26	<a href="../tutorial/advanced/constructors/metaprogrammg1.html" >Phase 3</a><li>
27	<a href="../tutorial/advanced/constructors/metaprogrammg2.html" >construct<T></a><li>
28	<a href="../tutorial/advanced/constructors/metaprogrammg3.html" >Alternatives</a></li></ol><li>
29	<a href="../tutorial/advanced/hooks.html" >Hooking events</a>
30<p>Intercepting useful events such as initial construction, copies and moves so you can capture backtraces, fire debug breakpoints etc.</p><ol><li>
31	<a href="../tutorial/advanced/hooks/keeping_state.html" >Keeping state</a><li>
32	<a href="../tutorial/advanced/hooks/adl_bridging.html" >ADL bridging</a><li>
33	<a href="../tutorial/advanced/hooks/hook_result.html" >Hook result</a><li>
34	<a href="../tutorial/advanced/hooks/poke_exception.html" >Custom exception ptr</a><li>
35	<a href="../tutorial/advanced/hooks/hook_outcome.html" >Hook outcome</a></li></ol><li>
36	<a href="../tutorial/advanced/interop.html" >Interoperation</a>
37<p>Interoperating with std::expected<T, E> and other ValueOrError concept matching types.</p><ol><li>
38	<a href="../tutorial/advanced/interop/problem.html" >Incommensurate E types</a><li>
39	<a href="../tutorial/advanced/interop/value-or-error.html" >ValueOrError Concept</a><li>
40	<a href="../tutorial/advanced/interop/httplib.html" >The HTTP library</a><li>
41	<a href="../tutorial/advanced/interop/tidylib.html" >The HTMLTidy library</a><li>
42	<a href="../tutorial/advanced/interop/filelib.html" >The File I/O library</a><li>
43	<a href="../tutorial/advanced/interop/app.html" >The Application</a><li>
44	<a href="../tutorial/advanced/interop/app-map-httplib1.html" >Mapping the HTTP library into the Application <code>1/2</code></a><li>
45	<a href="../tutorial/advanced/interop/app-map-httplib2.html" >Mapping the HTTP library into the Application <code>2/2</code></a><li>
46	<a href="../tutorial/advanced/interop/app-map-filelib.html" >Mapping the File I/O library into the Application</a><li>
47	<a href="../tutorial/advanced/interop/app-map-tidylib.html" >Mapping the HTMLTidy library into the Application</a><li>
48	<a href="../tutorial/advanced/interop/app-go.html" >In use</a><li>
49	<a href="../tutorial/advanced/interop/conclusion.html" >Conclusion</a></li></ol></li></ol>
50
51
52
53
54
55
56
57
58        </div><p><small>Last revised: February 08, 2019 at 22:18:08 UTC</small></p>
59<hr>
60<div class="spirit-nav">
61<a accesskey="p" href="../tutorial/essential/conventions.html"><img src="../images/prev.png" alt="Prev"></a>
62    <a accesskey="u" href="../tutorial.html"><img src="../images/up.png" alt="Up"></a>
63    <a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../tutorial/advanced/payload.html"><img src="../images/next.png" alt="Next"></a></div></body>
64</html>
65