16 Oct
2021
16 Oct
'21
6:49 p.m.
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.