Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-11-08 12:25:31


On 11/8/06, Johan Nilsson <r.johan.nilsson_at_[hidden]> wrote:
>
> 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.
>

The stuff in Boost.System was originally part of Boost.Filesystem. It got
moved to Boost.System as a result of comments during a mini-review of
Boost.Filesystem changes.

--Beman


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