Alternative to missing method in last version of Boost asio library
Some years ago, I wrote a email client using Boost asio library. There are a abstract class ICON with four subclasses. POP3conN to flat POP3 communications POP3conS to secure POP3 communications SMTPconN to flat SMTP communications SMTPconS to secure SMTP communications ICON has a member boost::asio::ip::tcp::socket socket_ and two virtual procedures, defined in echa subclass: void SMTPconN::run() { socket_.get_io_service().run(); } void SMTPconN::reset() { socket_.get_io_service().reset(); } The application worked fine with boost_1_63_0. But when I try update to boost_1_70_0, the compiler (MS