Boost logo

Boost :

From: Oliver.Kowalke_at_[hidden]
Date: 2006-06-27 07:02:54


Hello,
creating a system_error requires :

sys::error_code e( errno, sys::from_errno);
std::string msg;
sys::system_message( e, msg);
sys::system_error( msg, e);

I would find it easier if I had only to type:

sys::error_code e( errno, sys::from_errno);
sys::system_error( e); // what() == system_message

regards,
Oliver


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