asio::io_service被废弃的问题

2019-06-14  本文已影响0人  阿群1986

新版 ASIO 必须以 asio::io_context 替换 asio::io_service

there were also changes to composed operation customization hooks - there are only 2 now - boost::asio::associated_allocator and boost::asio::associated_executor, which default to looking for get_allocator(), get_executor(), T::allocator_type, T::executor_type members of the composed operation function object.

This is not a complete list.

上一篇 下一篇

猜你喜欢

热点阅读