1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>execution::mapping_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__mapping.html" title="execution::mapping"> 10<link rel="next" href="execution__mapping_t/is_applicable_property_v.html" title="execution::mapping_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__mapping.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__mapping_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__mapping_t"></a><a class="link" href="execution__mapping_t.html" title="execution::mapping_t">execution::mapping_t</a> 28</h3></div></div></div> 29<p> 30 A property to describe what guarantees an executor makes about the mapping 31 of execution agents on to threads of execution. 32 </p> 33<pre class="programlisting">struct mapping_t 34</pre> 35<h5> 36<a name="boost_asio.reference.execution__mapping_t.h0"></a> 37 <span class="phrase"><a name="boost_asio.reference.execution__mapping_t.types"></a></span><a class="link" href="execution__mapping_t.html#boost_asio.reference.execution__mapping_t.types">Types</a> 38 </h5> 39<div class="informaltable"><table class="table"> 40<colgroup> 41<col> 42<col> 43</colgroup> 44<thead><tr> 45<th> 46 <p> 47 Name 48 </p> 49 </th> 50<th> 51 <p> 52 Description 53 </p> 54 </th> 55</tr></thead> 56<tbody> 57<tr> 58<td> 59 <p> 60 <a class="link" href="execution__mapping_t__new_thread_t.html" title="execution::mapping_t::new_thread_t"><span class="bold"><strong>new_thread_t</strong></span></a> 61 </p> 62 </td> 63<td> 64 <p> 65 A sub-property that indicates that execution agents are mapped 66 on to new threads of execution. 67 </p> 68 </td> 69</tr> 70<tr> 71<td> 72 <p> 73 <a class="link" href="execution__mapping_t__other_t.html" title="execution::mapping_t::other_t"><span class="bold"><strong>other_t</strong></span></a> 74 </p> 75 </td> 76<td> 77 <p> 78 A sub-property that indicates that the mapping of execution agents 79 is implementation-defined. 80 </p> 81 </td> 82</tr> 83<tr> 84<td> 85 <p> 86 <a class="link" href="execution__mapping_t__thread_t.html" title="execution::mapping_t::thread_t"><span class="bold"><strong>thread_t</strong></span></a> 87 </p> 88 </td> 89<td> 90 <p> 91 A sub-property that indicates that execution agents are mapped 92 on to threads of execution. 93 </p> 94 </td> 95</tr> 96<tr> 97<td> 98 <p> 99 <a class="link" href="execution__mapping_t/polymorphic_query_result_type.html" title="execution::mapping_t::polymorphic_query_result_type"><span class="bold"><strong>polymorphic_query_result_type</strong></span></a> 100 </p> 101 </td> 102<td> 103 <p> 104 The type returned by queries against an any_executor. 105 </p> 106 </td> 107</tr> 108</tbody> 109</table></div> 110<h5> 111<a name="boost_asio.reference.execution__mapping_t.h1"></a> 112 <span class="phrase"><a name="boost_asio.reference.execution__mapping_t.member_functions"></a></span><a class="link" href="execution__mapping_t.html#boost_asio.reference.execution__mapping_t.member_functions">Member 113 Functions</a> 114 </h5> 115<div class="informaltable"><table class="table"> 116<colgroup> 117<col> 118<col> 119</colgroup> 120<thead><tr> 121<th> 122 <p> 123 Name 124 </p> 125 </th> 126<th> 127 <p> 128 Description 129 </p> 130 </th> 131</tr></thead> 132<tbody><tr> 133<td> 134 <p> 135 <a class="link" href="execution__mapping_t/mapping_t.html" title="execution::mapping_t::mapping_t"><span class="bold"><strong>mapping_t</strong></span></a> <span class="silver">[constructor]</span> 136 </p> 137 </td> 138<td> 139 <p> 140 Default constructor. <br> <span class="silver"> —</span><br> Construct from a sub-property 141 value. 142 </p> 143 </td> 144</tr></tbody> 145</table></div> 146<h5> 147<a name="boost_asio.reference.execution__mapping_t.h2"></a> 148 <span class="phrase"><a name="boost_asio.reference.execution__mapping_t.data_members"></a></span><a class="link" href="execution__mapping_t.html#boost_asio.reference.execution__mapping_t.data_members">Data Members</a> 149 </h5> 150<div class="informaltable"><table class="table"> 151<colgroup> 152<col> 153<col> 154</colgroup> 155<thead><tr> 156<th> 157 <p> 158 Name 159 </p> 160 </th> 161<th> 162 <p> 163 Description 164 </p> 165 </th> 166</tr></thead> 167<tbody> 168<tr> 169<td> 170 <p> 171 <a class="link" href="execution__mapping_t/is_applicable_property_v.html" title="execution::mapping_t::is_applicable_property_v"><span class="bold"><strong>is_applicable_property_v</strong></span></a> <span class="silver">[static]</span> 172 </p> 173 </td> 174<td> 175 <p> 176 The mapping_t property applies to executors, senders, and schedulers. 177 </p> 178 </td> 179</tr> 180<tr> 181<td> 182 <p> 183 <a class="link" href="execution__mapping_t/is_preferable.html" title="execution::mapping_t::is_preferable"><span class="bold"><strong>is_preferable</strong></span></a> <span class="silver">[static]</span> 184 </p> 185 </td> 186<td> 187 <p> 188 The top-level mapping_t property cannot be preferred. 189 </p> 190 </td> 191</tr> 192<tr> 193<td> 194 <p> 195 <a class="link" href="execution__mapping_t/is_requirable.html" title="execution::mapping_t::is_requirable"><span class="bold"><strong>is_requirable</strong></span></a> <span class="silver">[static]</span> 196 </p> 197 </td> 198<td> 199 <p> 200 The top-level mapping_t property cannot be required. 201 </p> 202 </td> 203</tr> 204<tr> 205<td> 206 <p> 207 <a class="link" href="execution__mapping_t/new_thread.html" title="execution::mapping_t::new_thread"><span class="bold"><strong>new_thread</strong></span></a> <span class="silver">[static]</span> 208 </p> 209 </td> 210<td> 211 <p> 212 A special value used for accessing the mapping_t::new_thread_t 213 property. 214 </p> 215 </td> 216</tr> 217<tr> 218<td> 219 <p> 220 <a class="link" href="execution__mapping_t/other.html" title="execution::mapping_t::other"><span class="bold"><strong>other</strong></span></a> <span class="silver">[static]</span> 221 </p> 222 </td> 223<td> 224 <p> 225 A special value used for accessing the mapping_t::other_t property. 226 </p> 227 </td> 228</tr> 229<tr> 230<td> 231 <p> 232 <a class="link" href="execution__mapping_t/thread.html" title="execution::mapping_t::thread"><span class="bold"><strong>thread</strong></span></a> <span class="silver">[static]</span> 233 </p> 234 </td> 235<td> 236 <p> 237 A special value used for accessing the mapping_t::thread_t property. 238 </p> 239 </td> 240</tr> 241</tbody> 242</table></div> 243<h5> 244<a name="boost_asio.reference.execution__mapping_t.h3"></a> 245 <span class="phrase"><a name="boost_asio.reference.execution__mapping_t.friends"></a></span><a class="link" href="execution__mapping_t.html#boost_asio.reference.execution__mapping_t.friends">Friends</a> 246 </h5> 247<div class="informaltable"><table class="table"> 248<colgroup> 249<col> 250<col> 251</colgroup> 252<thead><tr> 253<th> 254 <p> 255 Name 256 </p> 257 </th> 258<th> 259 <p> 260 Description 261 </p> 262 </th> 263</tr></thead> 264<tbody> 265<tr> 266<td> 267 <p> 268 <a class="link" href="execution__mapping_t/operator_not__eq_.html" title="execution::mapping_t::operator!="><span class="bold"><strong>operator!=</strong></span></a> 269 </p> 270 </td> 271<td> 272 <p> 273 Compare property values for inequality. 274 </p> 275 </td> 276</tr> 277<tr> 278<td> 279 <p> 280 <a class="link" href="execution__mapping_t/operator_eq__eq_.html" title="execution::mapping_t::operator=="><span class="bold"><strong>operator==</strong></span></a> 281 </p> 282 </td> 283<td> 284 <p> 285 Compare property values for equality. 286 </p> 287 </td> 288</tr> 289</tbody> 290</table></div> 291<h5> 292<a name="boost_asio.reference.execution__mapping_t.h4"></a> 293 <span class="phrase"><a name="boost_asio.reference.execution__mapping_t.requirements"></a></span><a class="link" href="execution__mapping_t.html#boost_asio.reference.execution__mapping_t.requirements">Requirements</a> 294 </h5> 295<p> 296 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/execution/mapping.hpp</code> 297 </p> 298<p> 299 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio/execution.hpp</code> 300 </p> 301</div> 302<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 303<td align="left"></td> 304<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 305 Kohlhoff<p> 306 Distributed under the Boost Software License, Version 1.0. (See accompanying 307 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>) 308 </p> 309</div></td> 310</tr></table> 311<hr> 312<div class="spirit-nav"> 313<a accesskey="p" href="execution__mapping.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__mapping_t/is_applicable_property_v.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 314</div> 315</body> 316</html> 317