Subject: Re: [boost] Announcing LEAF, a new error handling library suitable for low latency applications
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2018-11-14 23:29:53
On Wed, Nov 14, 2018 at 3:17 PM Gavin Lambert via Boost <
> On 15/11/2018 11:19, Emil Dotchevski wrote:
> > LEAF (Low-latency Error Augmentation Framework) is a new error handling
> > library which could possibly become the successor of Boost Exception,
> > though LEAF can be used without exceptions too.
> > Official documentation: https://zajo.github.io/leaf/
> Looks interesting.
> Does the implementation internally use thread-locals?
It uses thread_local raw pointers, one per error type. This is needed in
order to decouple result<T> from the static type of error objects being
propagated, which I consider critical, see
Is it compatible with coroutines or fibers or other non-thread-based stacks?
Good question. I'm not sure, but I'm interested to know what are the issues.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk