Subject: Re: [boost] [modularization] Dependency to Boost.Exceptionunavoidable?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2013-11-03 15:29:18
On Sat, Nov 2, 2013 at 5:19 PM, Niall Douglas <s_sourceforge_at_[hidden]> wrote:
> 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