Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-10-16 18:49:01


Glen Fernandes wrote:
> I have no problems with Core taking on a new dependency on
> ThrowException although perhaps this dependency could be avoided too
> via:
>
> #if defined(BOOST_NO_EXCEPTIONS)
> BOOST_NORETURN void throw_exception(const std::exception&);
> #endif

It could, but using the "proper" boost::throw_exception is better because
it adds a source location (and boost::exception_ptr support under C++03)
to the exception.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk