Relative Content

Tag Archive for c++boostcoroutineasio

Boost.Asio default token support causes free function calling ambiguous error

Overview I wrote some network client class named client based on Boost.Asio. The client uses boost::asio::async_read() internally to read bytes until expected bytes. When I added default completion token supported code to the client, and use the detault token, then the compiler reports error call to ‘async_read’ is ambiguous. The two ambiguous functions are here: […]