asio C++ library

PrevUpHomeNext
io_context::io_context (2 of 6 overloads)

Constructor.

template<
    typename Allocator>
io_context(
    allocator_arg_t ,
    const Allocator & a);
Parameters

a

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.


PrevUpHomeNext