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 version of Boost is under active development. You are currently in the master branch. The current version is 1.90.0.
Constructor.
template< typename Allocator> io_context( allocator_arg_t , const Allocator & a, int concurrency_hint);
Construct with a hint about the required level of concurrency.
An allocator that will be used for allocating objects that are associated with the context, such as services and internal state for I/O objects.
A suggestion to the implementation on how many threads it should allow to run simultaneously.