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>Hooks - 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/functions.html"><img src="../../images/prev.png" alt="Prev"></a> 11 <a accesskey="u" href="../../reference/functions.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/functions/hooks/spare_storage.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content"> 13 14 <div class="titlepage"><div><div><h1 style="clear: both">Hooks</h1></div></div></div> 15<ol class="children children-li"><li> 16 <a href="../../reference/functions/hooks/spare_storage.html" ><code>uint16_t spare_storage(const basic_result|basic_outcome *) noexcept</code></a> 17<p>Returns the sixteen bits of spare storage in the specified result or outcome.</p><li> 18 <a href="../../reference/functions/hooks/hook_outcome_construction.html" ><code>void hook_outcome_construction(T *, U &&) noexcept</code></a> 19<p>ADL discovered free function hook invoked by the implicit constructors of <code>basic_outcome</code>.</p><li> 20 <a href="../../reference/functions/hooks/hook_outcome_construction2.html" ><code>void hook_outcome_construction(T *, U &&, V &&) noexcept</code></a> 21<p>ADL discovered free function hook invoked by the implicit constructors of <code>basic_outcome</code>.</p><li> 22 <a href="../../reference/functions/hooks/hook_outcome_copy_construction.html" ><code>void hook_outcome_copy_construction(T *, U &&) noexcept</code></a> 23<p>ADL discovered free function hook invoked by the converting copy constructors of <code>basic_outcome</code>.</p><li> 24 <a href="../../reference/functions/hooks/hook_outcome_copy_construction2.html" ><code>void hook_outcome_copy_construction(T *, U &&, V &&) noexcept</code></a> 25<p>ADL discovered free function hook invoked by the converting copy constructors of <code>basic_outcome</code>.</p><li> 26 <a href="../../reference/functions/hooks/hook_outcome_in_place_construction.html" ><code>void hook_outcome_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept</code></a> 27<p>ADL discovered free function hook invoked by the in-place constructors of <code>basic_outcome</code>.</p><li> 28 <a href="../../reference/functions/hooks/hook_outcome_move_construction.html" ><code>void hook_outcome_move_construction(T *, U &&) noexcept</code></a> 29<p>ADL discovered free function hook invoked by the converting move constructors of <code>basic_outcome</code>.</p><li> 30 <a href="../../reference/functions/hooks/hook_outcome_move_construction2.html" ><code>void hook_outcome_move_construction(T *, U &&, V &&) noexcept</code></a> 31<p>ADL discovered free function hook invoked by the converting move constructors of <code>basic_outcome</code>.</p><li> 32 <a href="../../reference/functions/hooks/hook_result_construction.html" ><code>void hook_result_construction(T *, U &&) noexcept</code></a> 33<p>ADL discovered free function hook invoked by the implicit constructors of <code>basic_result</code>.</p><li> 34 <a href="../../reference/functions/hooks/hook_result_copy_construction.html" ><code>void hook_result_copy_construction(T *, U &&) noexcept</code></a> 35<p>ADL discovered free function hook invoked by the converting copy constructors of <code>basic_result</code>.</p><li> 36 <a href="../../reference/functions/hooks/hook_result_in_place_construction.html" ><code>void hook_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept</code></a> 37<p>ADL discovered free function hook invoked by the in-place constructors of <code>basic_result</code>.</p><li> 38 <a href="../../reference/functions/hooks/hook_result_move_construction.html" ><code>void hook_result_move_construction(T *, U &&) noexcept</code></a> 39<p>ADL discovered free function hook invoked by the converting move constructors of <code>basic_result</code>.</p><li> 40 <a href="../../reference/functions/hooks/override_outcome_exception.html" ><code>void override_outcome_exception(basic_outcome<T, EC, EP, NoValuePolicy> *, U &&) noexcept</code></a> 41<p>Overrides the exception to something other than what was constructed.</p><li> 42 <a href="../../reference/functions/hooks/set_spare_storage.html" ><code>void set_spare_storage(basic_result|basic_outcome *, uint16_t) noexcept</code></a> 43<p>Sets the sixteen bits of spare storage in the specified result or outcome.</p></li></ol> 44 45 46 47 48 49 50 51 52 </div><p><small>Last revised: January 22, 2019 at 01:11:40 UTC</small></p> 53<hr> 54<div class="spirit-nav"> 55<a accesskey="p" href="../../reference/functions.html"><img src="../../images/prev.png" alt="Prev"></a> 56 <a accesskey="u" href="../../reference/functions.html"><img src="../../images/up.png" alt="Up"></a> 57 <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/functions/hooks/spare_storage.html"><img src="../../images/next.png" alt="Next"></a></div></body> 58</html> 59