
29 Mar
2017
29 Mar
'17
5:56 a.m.
2017-03-29 11:28 GMT+08:00 Christopher Pisz via Boost-users < boost-users@lists.boost.org>:
Exact source listing in Visual Studio 2015
[...]
Exact output spew from compilation: This is against boost 1.55, because that's what I have at home. I use 1.62.0 at work and get the exact same errors.
Change ``` std::function<void(tcp_connection::pointer new_connection, const boost::system::error_code &error)> callback = ... ``` To: ``` std::function<void(const boost::system::error_code &error)> callback = ... ``` BTW, I'd recommend using lambda exprs instead of bind in most cases.