asio::io_service sev;
asio::ip::tcp::acceptor acc(sev,asio::ip::tcp::endpoint(asio::ip::tcp::v4(),1000));
std::string info(65536,'0');
void async_write(asio::ip::tcp::socket soc) //I want to move an object to this function to let this function manage its resources.
{
asio::error_code ign_err;
asio::write(soc,asio::buffer(info),ign_err);
}
No conflict with that policy.
For std::rref will not bind to that object. It will own the object(by moving the object from the original function) and then move the object to another function (in this example is async_write).