1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>execution::allocator_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__allocator.html" title="execution::allocator"> 10<link rel="next" href="execution__allocator_t/allocator_t.html" title="execution::allocator_t::allocator_t"> 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__allocator.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__allocator_t/allocator_t.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__allocator_t"></a><a class="link" href="execution__allocator_t.html" title="execution::allocator_t">execution::allocator_t</a> 28</h3></div></div></div> 29<p> 30 A property to describe which allocator an executor will use to allocate the 31 memory required to store a submitted function object. 32 </p> 33<pre class="programlisting">template< 34 typename <a class="link" href="ProtoAllocator.html" title="Proto-allocator requirements">ProtoAllocator</a>> 35struct allocator_t 36</pre> 37<h5> 38<a name="boost_asio.reference.execution__allocator_t.h0"></a> 39 <span class="phrase"><a name="boost_asio.reference.execution__allocator_t.member_functions"></a></span><a class="link" href="execution__allocator_t.html#boost_asio.reference.execution__allocator_t.member_functions">Member 40 Functions</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> 60<tr> 61<td> 62 <p> 63 <a class="link" href="execution__allocator_t/allocator_t.html" title="execution::allocator_t::allocator_t"><span class="bold"><strong>allocator_t</strong></span></a> <span class="silver">[constructor]</span> 64 </p> 65 </td> 66<td> 67 <p> 68 Default constructor. 69 </p> 70 </td> 71</tr> 72<tr> 73<td> 74 <p> 75 <a class="link" href="execution__allocator_t/value.html" title="execution::allocator_t::value"><span class="bold"><strong>value</strong></span></a> 76 </p> 77 </td> 78<td> 79 <p> 80 Obtain the allocator stored in the allocator_t property object. 81 </p> 82 </td> 83</tr> 84</tbody> 85</table></div> 86<h5> 87<a name="boost_asio.reference.execution__allocator_t.h1"></a> 88 <span class="phrase"><a name="boost_asio.reference.execution__allocator_t.data_members"></a></span><a class="link" href="execution__allocator_t.html#boost_asio.reference.execution__allocator_t.data_members">Data Members</a> 89 </h5> 90<div class="informaltable"><table class="table"> 91<colgroup> 92<col> 93<col> 94</colgroup> 95<thead><tr> 96<th> 97 <p> 98 Name 99 </p> 100 </th> 101<th> 102 <p> 103 Description 104 </p> 105 </th> 106</tr></thead> 107<tbody> 108<tr> 109<td> 110 <p> 111 <a class="link" href="execution__allocator_t/is_applicable_property_v.html" title="execution::allocator_t::is_applicable_property_v"><span class="bold"><strong>is_applicable_property_v</strong></span></a> <span class="silver">[static]</span> 112 </p> 113 </td> 114<td> 115 <p> 116 The allocator_t property applies to executors, senders, and schedulers. 117 </p> 118 </td> 119</tr> 120<tr> 121<td> 122 <p> 123 <a class="link" href="execution__allocator_t/is_preferable.html" title="execution::allocator_t::is_preferable"><span class="bold"><strong>is_preferable</strong></span></a> <span class="silver">[static]</span> 124 </p> 125 </td> 126<td> 127 <p> 128 The allocator_t property can be preferred. 129 </p> 130 </td> 131</tr> 132<tr> 133<td> 134 <p> 135 <a class="link" href="execution__allocator_t/is_requirable.html" title="execution::allocator_t::is_requirable"><span class="bold"><strong>is_requirable</strong></span></a> <span class="silver">[static]</span> 136 </p> 137 </td> 138<td> 139 <p> 140 The allocator_t property can be required. 141 </p> 142 </td> 143</tr> 144</tbody> 145</table></div> 146<h5> 147<a name="boost_asio.reference.execution__allocator_t.h2"></a> 148 <span class="phrase"><a name="boost_asio.reference.execution__allocator_t.requirements"></a></span><a class="link" href="execution__allocator_t.html#boost_asio.reference.execution__allocator_t.requirements">Requirements</a> 149 </h5> 150<p> 151 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/execution/allocator.hpp</code> 152 </p> 153<p> 154 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio/execution.hpp</code> 155 </p> 156</div> 157<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 158<td align="left"></td> 159<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 160 Kohlhoff<p> 161 Distributed under the Boost Software License, Version 1.0. (See accompanying 162 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>) 163 </p> 164</div></td> 165</tr></table> 166<hr> 167<div class="spirit-nav"> 168<a accesskey="p" href="execution__allocator.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__allocator_t/allocator_t.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 169</div> 170</body> 171</html> 172