• 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>all_narrow - 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/policies/base/narrow_exception_check.html"><img src="../../images/prev.png" alt="Prev"></a>
11    <a accesskey="u" href="../../reference/policies.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/policies/error_code_throw_as_system_error_outcome.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
13  <div class="titlepage"><div><div><h1 style="clear: both"><code>all_narrow</code></h1></div></div></div>
14  <p>Policy class defining that hard undefined behaviour should occur on incorrect narrow and wide value, error or exception observation.</p>
15
16<p>Inherits publicly from <a href="../../reference/policies/base.html" class="api-reference"><code>base</code></a>
17, and simply defines its wide value, error and exception observer policies to call their corresponding narrow editions.</p>
18
19<p>Included by <code>&lt;basic_result.hpp&gt;</code>, and so is always available when <code>basic_result</code> is available.</p>
20
21<p><em>Requires</em>: Nothing.</p>
22
23<p><em>Namespace</em>: <code>BOOST_OUTCOME_V2_NAMESPACE::policy</code></p>
24
25<p><em>Header</em>: <code>&lt;boost/outcome/policy/all_narrow.hpp&gt;</code></p>
26
27
28        </div><p><small>Last revised: January 22, 2019 at 01:11:40 UTC</small></p>
29<hr>
30<div class="spirit-nav">
31<a accesskey="p" href="../../reference/policies/base/narrow_exception_check.html"><img src="../../images/prev.png" alt="Prev"></a>
32    <a accesskey="u" href="../../reference/policies.html"><img src="../../images/up.png" alt="Up"></a>
33    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/policies/error_code_throw_as_system_error_outcome.html"><img src="../../images/next.png" alt="Next"></a></div></body>
34</html>
35