tion_context::use_service
          (2 of 2 overloads)</a>
</h5></div></div></div>
<p>
            Obtain the service object corresponding to the given type.
          </p>
<pre class="programlisting">template&lt;
    typename <a class="link" href="../../Service.html" title="Service requirements">Service</a>&gt;
friend Service &amp; use_service(
    io_context &amp; ioc);
</pre>
<p>
            This function is used to locate a service object that corresponds to
            the given service type. If there 