标签: c++ c++11 boost boost-asio
如果我在boost::asio::async_使用std::future功能,请点击此处:
boost::asio::async_
std::future
auto w_fut = boost::asio::async_write(*socket_, request, boost::asio::use_future);
我应该检查w_fut的状态是std::future_status::deferred,如果是,我该怎么办?
w_fut
std::future_status::deferred