class managed_io_context - 5cript/attender GitHub Wiki
| Members | Descriptions |
|---|---|
public template<typename... Forwards> inline constexpr managed_io_context(Forwards &&... args)
|
|
public inline constexpr asio::io_service * get_io_service() noexcept |
Returns the encapsulated io_service, for use. |
public managed_io_context(const managed_io_context &) = delete
|
|
public managed_io_context& operator=(constmanaged_io_context &) = delete
|
Returns the encapsulated io_service, for use.
The managed_io_context does not get transferred to anything else ever, its just there to combine the io_service with some work / workers. As boost::asio supports thread pools, coroutines, etc.