...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
io_context( const execution_context::service_maker & initial_services);
Construct with a service maker, to create an initial set of services that will be installed into the execution context at construction time.
Used to create the initial services. The make
function will be called once at the end of execution_context
construction.