Boost logo

Boost :

From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2020-06-04 22:47:54


On Thu, Jun 4, 2020 at 3:10 PM Peter Dimov via Boost <boost_at_[hidden]>
wrote:
> Sort of a LEAF/Boost.Exception hybrid, where the boost::exception base
only
> contains the error_id like in LEAF, and the actual error_info is in the
map.

What is the benefit of keeping the error info in a map, rather than in a
context<> like LEAF does? Is it that you want to simplify the Boost
Exception base types?

One benefit of keeping it in the exception object is that transporting the
exception with the data between threads is trivial.


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