
Christopher Kohlhoff wrote:
I have just committed some asio changes to cvs HEAD that will break application code. These changes are part of what's needed to bring the interface into sync with the TR2 proposal. The big change is to the error handling classes, as described below.
[snip]
And where previously a boost::asio::error exception was thrown, the new exception thrown is boost::system::system_error.
Error constants like boost::asio::error::eof stay as they are, i.e.:
void my_handler(const boost::system::error_code& e) { if (e == boost::asio::error::eof) { ... } }
Programs will now need to link against the boost.system library (which is where boost::system::error_code and boost::system::system_error reside).
Has Boost.System been reviewed? If not, having a reviewed and accepted library depend on a not-reviewed-and-accepted one seems a bit strange IMHO. // Johan