reset.html 4.15 KB
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>windows::overlapped_ptr::reset</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="../windows__overlapped_ptr.html" title="windows::overlapped_ptr">
<link rel="prev" href="release.html" title="windows::overlapped_ptr::release">
<link rel="next" href="reset/overload1.html" title="windows::overlapped_ptr::reset (1 of 3 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="release.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../windows__overlapped_ptr.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="reset/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.windows__overlapped_ptr.reset"></a><a class="link" href="reset.html" title="windows::overlapped_ptr::reset">windows::overlapped_ptr::reset</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="asio.indexterm.windows__overlapped_ptr.reset"></a> 
Reset
          to empty.
        </p>
<pre class="programlisting">void <a class="link" href="reset/overload1.html" title="windows::overlapped_ptr::reset (1 of 3 overloads)">reset</a>();
  <span class="emphasis"><em>» <a class="link" href="reset/overload1.html" title="windows::overlapped_ptr::reset (1 of 3 overloads)">more...</a></em></span>
</pre>
<p>
          Reset to contain the specified handler, freeing any current OVERLAPPED
          object.
        </p>
<pre class="programlisting">template&lt;
    typename ExecutionContext,
    typename <a class="link" href="../Handler.html" title="Handlers">Handler</a>&gt;
void <a class="link" href="reset/overload2.html" title="windows::overlapped_ptr::reset (2 of 3 overloads)">reset</a>(
    ExecutionContext &amp; context,
    Handler &amp;&amp; handler,
    typename enable_if&lt; is_convertible&lt; ExecutionContext &amp;, execution_context &amp; &gt;::value &gt;::type *  = 0);
  <span class="emphasis"><em>» <a class="link" href="reset/overload2.html" title="windows::overlapped_ptr::reset (2 of 3 overloads)">more...</a></em></span>

template&lt;
    typename <a class="link" href="../Executor1.html" title="Executor requirements">Executor</a>,
    typename <a class="link" href="../Handler.html" title="Handlers">Handler</a>&gt;
void <a class="link" href="reset/overload3.html" title="windows::overlapped_ptr::reset (3 of 3 overloads)">reset</a>(
    const Executor &amp; ex,
    Handler &amp;&amp; handler,
    typename enable_if&lt; execution::is_executor&lt; Executor &gt;::value||is_executor&lt; Executor &gt;::value &gt;::type *  = 0);
  <span class="emphasis"><em>» <a class="link" href="reset/overload3.html" title="windows::overlapped_ptr::reset (3 of 3 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="release.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../windows__overlapped_ptr.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="reset/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>