Boost logo

Boost :

Subject: Re: [boost] Announcing LEAF, a new error handling library suitable for low latency applications
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2018-11-15 01:57:00


On Wed, Nov 14, 2018 at 5:51 PM Edward Diener via Boost <
boost_at_[hidden]> wrote:

> On 11/14/2018 8:03 PM, Emil Dotchevski via Boost wrote:
> > On Wed, Nov 14, 2018 at 4:56 PM Edward Diener via Boost <
> > boost_at_[hidden]> wrote:
> >
> >> On 11/14/2018 5:19 PM, Emil Dotchevski via Boost 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/
> >>>
> >>> Features:
> >>>
> >>> - No dynamic memory allocations.
> >>>
> >>> - Associate objects of arbitrary types with any failure -- when it is
> >>> initially reported or at a later time.
> >>>
> >>> - Compatible with std::error_code, errno and any other error handling
> >> API.
> >>>
> >>> - Use with or without exception handling.
> >>>
> >>> - Support for multi-thread programming.
> >>
> >> Front and center, as in a general introduction:
> >>
> >> 1) Header files
> >> 2) Library dependencies
> >> 3) C++ standard level
> >>
> >
> > Header-only, no dependency on any libraries, C++11.
> >
> > I'll update the documentation, thanks.
>
> I meant with 1) to specify what header file(s) need to be included.
>

The documentation of each type and each function tells you which header you
need to include for it.

You could #include <boost/leaf/all.hpp>, however I've been careful minimize
coupling between the different features.


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