ype</code> with
the <code>void(error_code, size_t)</code> signature which constructs from that a <code>result</code>:</p>

<div class="code-snippet"><div class="highlight"><pre class="chroma"><code class="language-c++" data-lang="c++">  <span class="c1">// Wrap that completion handler with void(error_code, T) converting
</span><span class="c1"></span>  <span class="c1">// handler
</span><span class="c1"></span>  <span class="k">struct</span> <span class="n">completion_handler_type</span>
  <span class="p">{