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