Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2022-02-14 05:49:57


On Sun, Feb 13, 2022 at 1:44 PM Peter Dimov via Boost
<boost_at_[hidden]> wrote:
> Recommendation one: add source_location default arguments to your
> throwing functions so that the information logged at the catch site
> points to the call that threw.

I am less excited about changing the signatures of all public
functions. I thought that BOOST_THROW_EXCEPTION attached a stack trace
to the exception? Wouldn't that provide the same or more information
as BOOST_CURRENT_LOCATION at the user's call site?

Thanks


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