Boost logo

Boost :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-11-08 02:25:38


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk