Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-06-26 10:05:42


Oliver.Kowalke_at_[hidden] wrote:
> Christopher Kohlhoff wrote:
> > There's also the problem of the error asio::error::eof,
> > which corresponds to a real error on Windows, but is
> > synthesised on POSIX platforms.
>
> What about adding EEOF -1 (or so) inside error_code.hpp and
> apply a switch-statement inside system_message?

That's essentially what I do in the boost::asio::error class right now.
It would be nice to find a more generic solution, however.

Cheers,
Chris


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