Qt使用网络编程boost库进行异步操作时,在客户端中的async_accept函数中绑定了bind,如下
_acceptor.async_accept(new_session->Socket(),
std::bind(&Server::handle_accept, this, new_session, placeholders::_1));
但不知道为什么,对应的handle_accept函数却一直都没有进行调用,我想知道是不是placeholders::_1的问题,一直弄不了