
5 Jul
2010
5 Jul
'10
2:41 p.m.
DeĀ : boost-users-bounces@lists.boost.org [mailto:boost-users-
How can I interpret and use the error_code in my application?
Chris Kohlhoff wrote a series of blog posts on the topic: http://blog.think-async.com/2010/04/system-error-support-in-c0x-part-1.html
if(error.value()==2) //Not readable { }
if(error.value()==END_OF_FILE) //More readable { }
So how can I get the respective "enum" associated with the error
Look at boost::system::errc in boost/system/error_code.hpp