• 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>std_unchecked&lt;T, E = std::error_code&gt; - 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/aliases/std_result.html"><img src="../../images/prev.png" alt="Prev"></a>
11    <a accesskey="u" href="../../reference/aliases.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/aliases/unchecked.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
13  <div class="titlepage"><div><div><h1 style="clear: both"><code>std_unchecked&lt;T, E = std::error_code&gt;</code></h1></div></div></div>
14  <p>A type alias to a <a href="../../reference/types/basic_result.html" class="api-reference"><code>basic_result&lt;T, E, NoValuePolicy&gt;</code></a>
15 configured with
16<a href="https://en.cppreference.com/w/cpp/error/error_code" class="api-reference" target="_blank"><i class="fa fa-book" aria-hidden="true"></i> <code>std::error_code</code></a>
17 and <code>policy::</code><a href="../../reference/policies/all_narrow.html" class="api-reference"><code>all_narrow</code></a>
18.</p>
19
20<p>This type alias always references the <code>std</code> edition of things, unlike <a href="../../reference/aliases/unchecked.html" class="api-reference"><code>unchecked&lt;T, E = varies&gt;</code></a>
21 which references either this alias or <a href="../../reference/aliases/boost_unchecked.html" class="api-reference"><code>boost_unchecked&lt;T, E = boost::system::error_code&gt;</code></a>
22.</p>
23
24<p><em>Namespace</em>: <code>BOOST_OUTCOME_V2_NAMESPACE</code></p>
25
26<p><em>Header</em>: <code>&lt;boost/outcome/std_result.hpp&gt;</code></p>
27
28
29        </div><p><small>Last revised: January 23, 2019 at 01:27:31 UTC</small></p>
30<hr>
31<div class="spirit-nav">
32<a accesskey="p" href="../../reference/aliases/std_result.html"><img src="../../images/prev.png" alt="Prev"></a>
33    <a accesskey="u" href="../../reference/aliases.html"><img src="../../images/up.png" alt="Up"></a>
34    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/aliases/unchecked.html"><img src="../../images/next.png" alt="Next"></a></div></body>
35</html>
36