• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>execution::context_as_t</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="execution__context_as.html" title="execution::context_as">
10<link rel="next" href="execution__context_as_t/is_applicable_property_v.html" title="execution::context_as_t::is_applicable_property_v">
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="execution__context_as.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="execution__context_as_t/is_applicable_property_v.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.execution__context_as_t"></a><a class="link" href="execution__context_as_t.html" title="execution::context_as_t">execution::context_as_t</a>
28</h3></div></div></div>
29<p>
30        A property that is used to obtain the execution context that is associated
31        with an executor.
32      </p>
33<pre class="programlisting">template&lt;
34    typename U&gt;
35struct context_as_t
36</pre>
37<h5>
38<a name="boost_asio.reference.execution__context_as_t.h0"></a>
39        <span class="phrase"><a name="boost_asio.reference.execution__context_as_t.types"></a></span><a class="link" href="execution__context_as_t.html#boost_asio.reference.execution__context_as_t.types">Types</a>
40      </h5>
41<div class="informaltable"><table class="table">
42<colgroup>
43<col>
44<col>
45</colgroup>
46<thead><tr>
47<th>
48                <p>
49                  Name
50                </p>
51              </th>
52<th>
53                <p>
54                  Description
55                </p>
56              </th>
57</tr></thead>
58<tbody><tr>
59<td>
60                <p>
61                  <a class="link" href="execution__context_as_t/polymorphic_query_result_type.html" title="execution::context_as_t::polymorphic_query_result_type"><span class="bold"><strong>polymorphic_query_result_type</strong></span></a>
62                </p>
63              </td>
64<td>
65                <p>
66                  The type returned by queries against an any_executor.
67                </p>
68              </td>
69</tr></tbody>
70</table></div>
71<h5>
72<a name="boost_asio.reference.execution__context_as_t.h1"></a>
73        <span class="phrase"><a name="boost_asio.reference.execution__context_as_t.data_members"></a></span><a class="link" href="execution__context_as_t.html#boost_asio.reference.execution__context_as_t.data_members">Data
74        Members</a>
75      </h5>
76<div class="informaltable"><table class="table">
77<colgroup>
78<col>
79<col>
80</colgroup>
81<thead><tr>
82<th>
83                <p>
84                  Name
85                </p>
86              </th>
87<th>
88                <p>
89                  Description
90                </p>
91              </th>
92</tr></thead>
93<tbody>
94<tr>
95<td>
96                <p>
97                  <a class="link" href="execution__context_as_t/is_applicable_property_v.html" title="execution::context_as_t::is_applicable_property_v"><span class="bold"><strong>is_applicable_property_v</strong></span></a> <span class="silver">[static]</span>
98                </p>
99              </td>
100<td>
101                <p>
102                  The context_as_t property applies to executors, senders, and schedulers.
103                </p>
104              </td>
105</tr>
106<tr>
107<td>
108                <p>
109                  <a class="link" href="execution__context_as_t/is_preferable.html" title="execution::context_as_t::is_preferable"><span class="bold"><strong>is_preferable</strong></span></a> <span class="silver">[static]</span>
110                </p>
111              </td>
112<td>
113                <p>
114                  The context_t property cannot be preferred.
115                </p>
116              </td>
117</tr>
118<tr>
119<td>
120                <p>
121                  <a class="link" href="execution__context_as_t/is_requirable.html" title="execution::context_as_t::is_requirable"><span class="bold"><strong>is_requirable</strong></span></a> <span class="silver">[static]</span>
122                </p>
123              </td>
124<td>
125                <p>
126                  The context_t property cannot be required.
127                </p>
128              </td>
129</tr>
130</tbody>
131</table></div>
132<h5>
133<a name="boost_asio.reference.execution__context_as_t.h2"></a>
134        <span class="phrase"><a name="boost_asio.reference.execution__context_as_t.requirements"></a></span><a class="link" href="execution__context_as_t.html#boost_asio.reference.execution__context_as_t.requirements">Requirements</a>
135      </h5>
136<p>
137        <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/execution/context_as.hpp</code>
138      </p>
139<p>
140        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio/execution.hpp</code>
141      </p>
142</div>
143<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
144<td align="left"></td>
145<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
146      Kohlhoff<p>
147        Distributed under the Boost Software License, Version 1.0. (See accompanying
148        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>)
149      </p>
150</div></td>
151</tr></table>
152<hr>
153<div class="spirit-nav">
154<a accesskey="p" href="execution__context_as.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="execution__context_as_t/is_applicable_property_v.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
155</div>
156</body>
157</html>
158