I\'m trying to following the examples on this page:
http://www.boost.org/doc/libs/1_40_0/libs/exception/doc/motivation.html
The minute I try the following li
try:
#include #include throw file_read_error() << boost::errinfo_errno(errno);
even better:
BOOST_THROW_EXCEPTION(file_read_error() << errinfo_errno(errno));
Your HRESULTErrorInfo example seems correct.