• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>require_concept_result</title>
5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../boost_asio.html" title="Boost.Asio">
8<link rel="up" href="../reference.html" title="Reference">
9<link rel="prev" href="require_concept.html" title="require_concept">
10<link rel="next" href="require_concept_result/type.html" title="require_concept_result::type">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15<td align="center"><a href="../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="require_concept.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="require_concept_result/type.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_asio.reference.require_concept_result"></a><a class="link" href="require_concept_result.html" title="require_concept_result">require_concept_result</a>
28</h3></div></div></div>
29<p>
30        A type trait that determines the result type of a <code class="computeroutput">require_concept</code>
31        expression.
32      </p>
33<pre class="programlisting">template&lt;
34    typename T,
35    typename Property&gt;
36struct require_concept_result
37</pre>
38<h5>
39<a name="boost_asio.reference.require_concept_result.h0"></a>
40        <span class="phrase"><a name="boost_asio.reference.require_concept_result.types"></a></span><a class="link" href="require_concept_result.html#boost_asio.reference.require_concept_result.types">Types</a>
41      </h5>
42<div class="informaltable"><table class="table">
43<colgroup>
44<col>
45<col>
46</colgroup>
47<thead><tr>
48<th>
49                <p>
50                  Name
51                </p>
52              </th>
53<th>
54                <p>
55                  Description
56                </p>
57              </th>
58</tr></thead>
59<tbody><tr>
60<td>
61                <p>
62                  <a class="link" href="require_concept_result/type.html" title="require_concept_result::type"><span class="bold"><strong>type</strong></span></a>
63                </p>
64              </td>
65<td>
66                <p>
67                  The result of the require_concept expression.
68                </p>
69              </td>
70</tr></tbody>
71</table></div>
72<p>
73        Class template <code class="computeroutput">require_concept_result</code> is a trait that determines
74        the result type of the expression <code class="computeroutput">boost::asio::require_concept(std::declval&lt;T&gt;(),
75        std::declval&lt;Property&gt;())</code>.
76      </p>
77<h5>
78<a name="boost_asio.reference.require_concept_result.h1"></a>
79        <span class="phrase"><a name="boost_asio.reference.require_concept_result.requirements"></a></span><a class="link" href="require_concept_result.html#boost_asio.reference.require_concept_result.requirements">Requirements</a>
80      </h5>
81<p>
82        <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/require_concept.hpp</code>
83      </p>
84<p>
85        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
86      </p>
87</div>
88<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
89<td align="left"></td>
90<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
91      Kohlhoff<p>
92        Distributed under the Boost Software License, Version 1.0. (See accompanying
93        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
94      </p>
95</div></td>
96</tr></table>
97<hr>
98<div class="spirit-nav">
99<a accesskey="p" href="require_concept.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="require_concept_result/type.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
100</div>
101</body>
102</html>
103