
22 Mar
2011
22 Mar
'11
7:16 p.m.
2011/3/22 Emil Dotchevski <emildotchevski@gmail.com>
Why use BOOST_THROW_EXCEPTION to throw?
- Typically, there is no need to do anything else to support BOOST_NO_EXCEPTIONS builds;
- Enables boost::exception_ptr, so the exceptions you throw can be transported between threads;
- Enables boost::error_info, so users can attach stuff to exceptions.
- Enables better messages from boost::diagnostic_information.
+1 What about boost/detail/no_exceptions_support.hpp? Could that file be moved to boost/exception for public use? I use it, but don't feel comfortable with it being in the detail directory. Regards, Kris