27 Jul
2011
27 Jul
'11
10:33 a.m.
Ok..I want to avoid using other functions. It is possible t copy the value of error in a lambda external variable? const boost::system::error_code myError; acceptor.async_accept(*socket,[&myError] (const boost::system::error_code &error) { myError = error; //??? } ); -- View this message in context: http://boost.2283326.n4.nabble.com/ASIO-async-accept-and-c-2011-lambas-tp369... Sent from the Boost - Users mailing list archive at Nabble.com.