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
This is an older version of Boost and was released in 2018. The current version is 1.89.0.
(Deprecated:
Use context().) Get the io_context
associated with the strand.
boost::asio::io_context & get_io_service();
This function may be used to obtain the io_context
object that the strand uses to dispatch handlers for asynchronous operations.
A reference to the io_context
object that the strand will use to dispatch handlers. Ownership is not
transferred to the caller.