require.html 6.4 KB
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>basic_system_executor::require</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../basic_system_executor.html" title="basic_system_executor">
<link rel="prev" href="query__static/overload4.html" title="basic_system_executor::query (4 of 4 overloads)">
<link rel="next" href="require/overload1.html" title="basic_system_executor::require (1 of 7 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query__static/overload4.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_system_executor.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="require/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.basic_system_executor.require"></a><a class="link" href="require.html" title="basic_system_executor::require">basic_system_executor::require</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="asio.indexterm.basic_system_executor.require"></a> 
Obtain
          an executor with the <code class="computeroutput">blocking.possibly</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; execution::blocking_t::possibly_t, Relationship, Allocator &gt; <a class="link" href="require/overload1.html" title="basic_system_executor::require (1 of 7 overloads)">require</a>(
    execution::blocking_t::possibly_t ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload1.html" title="basic_system_executor::require (1 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the <code class="computeroutput">blocking.always</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; execution::blocking_t::always_t, Relationship, Allocator &gt; <a class="link" href="require/overload2.html" title="basic_system_executor::require (2 of 7 overloads)">require</a>(
    execution::blocking_t::always_t ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload2.html" title="basic_system_executor::require (2 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the <code class="computeroutput">blocking.never</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; execution::blocking_t::never_t, Relationship, Allocator &gt; <a class="link" href="require/overload3.html" title="basic_system_executor::require (3 of 7 overloads)">require</a>(
    execution::blocking_t::never_t ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload3.html" title="basic_system_executor::require (3 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the <code class="computeroutput">relationship.continuation</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; Blocking, execution::relationship_t::continuation_t, Allocator &gt; <a class="link" href="require/overload4.html" title="basic_system_executor::require (4 of 7 overloads)">require</a>(
    execution::relationship_t::continuation_t ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload4.html" title="basic_system_executor::require (4 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the <code class="computeroutput">relationship.fork</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; Blocking, execution::relationship_t::fork_t, Allocator &gt; <a class="link" href="require/overload5.html" title="basic_system_executor::require (5 of 7 overloads)">require</a>(
    execution::relationship_t::fork_t ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload5.html" title="basic_system_executor::require (5 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the specified <code class="computeroutput">allocator</code> property.
        </p>
<pre class="programlisting">template&lt;
    typename OtherAllocator&gt;
basic_system_executor&lt; Blocking, Relationship, OtherAllocator &gt; <a class="link" href="require/overload6.html" title="basic_system_executor::require (6 of 7 overloads)">require</a>(
    execution::allocator_t&lt; OtherAllocator &gt; a) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload6.html" title="basic_system_executor::require (6 of 7 overloads)">more...</a></em></span>
</pre>
<p>
          Obtain an executor with the default <code class="computeroutput">allocator</code> property.
        </p>
<pre class="programlisting">basic_system_executor&lt; Blocking, Relationship, std::allocator&lt; void &gt; &gt; <a class="link" href="require/overload7.html" title="basic_system_executor::require (7 of 7 overloads)">require</a>(
    execution::allocator_t&lt; void &gt; ) const;
  <span class="emphasis"><em>» <a class="link" href="require/overload7.html" title="basic_system_executor::require (7 of 7 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
      Kohlhoff<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        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>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query__static/overload4.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_system_executor.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="require/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>