21 Jun
2010
21 Jun
'10
6:20 a.m.
Emil Dotchevski wrote:
Boost Exception does support the error info functionality even in BOOST_NO_EXCEPTIONS builds. For example, the user-defined boost::throw_exception function can use boost::diagnostic_information.
so I can grab the textual contents of diagnostic_info and do w/e with it.
So I don't think it'd be easy at all to de-STL the Boost Exception library. Also note that BOOST_NO_EXCEPTIONS builds still require the exception types to derive from std::exception.
I kinda feared that. Guess I'll for no-exceptions on machine where std is a no-go and remove the intermediate level. Thanks