Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
You've currently chosen the 1.91.0 version. If a newer release comes out, you will continue to view the 1.91.0 version, not the new latest release.
Get
the io_context
associated with the object.
boost::asio::io_context & get_io_service();
This function may be used to obtain the io_context object that the I/O
object uses to dispatch handlers for asynchronous operations.
A reference to the io_context object that the I/O
object will use to dispatch handlers. Ownership is not transferred to the
caller.