3 Nov
2013
3 Nov
'13
8:29 p.m.
On Sat, Nov 2, 2013 at 5:19 PM, Niall Douglas
On 1 Nov 2013 at 16:01, Emil Dotchevski wrote:
1. If BOOST_NO_EXCEPTIONS is defined, libraries should not throw. One option to implement that behavior is to pass exception objects (of the usual documented library-defined types) to boost::throw_exception.
I wonder how useful supporting exceptions disabled is in recent years?
I agree that many Boost libraries are impractical with exception handling disabled, but there is no harm done in supporting BOOST_NO_EXCEPTIONS via boost::throw_exception, since its specification does not allow it to return. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode