Boostorg Leaf Versions Save

Lightweight Error Augmentation Framework

boost-1.82.0

1 year ago

This release includes a bug fix and additional unit tests. It matches exactly the state of the LEAF source code as distributed in the Boost 1.82.0 release.

1.81.0

1 year ago

This release includes:

  • Fixes for compile errors in tricky configurations.
  • A fix for an API defect, throw leaf::exception(...) now becomes leaf::throw_exception(...).
  • Improvements to the TLS array support for embedded platforms.
  • Improved configuration coverage for unit tests.

1.81.0-prerelease

1 year ago

First conan release. Minor improvements over version 1.80.0.

0.3.0

3 years ago

This release incorporates the feedback of the Boost Review, changes to improve potential integration with Boost, simplified asynchronous API. Changes:

  • The is_e_type trait is deleted. Any value type can be used as an error type.
  • Error handlers can now be captured in a tuple and used with try_handle_some, try_handle_all or try_catch. The remote_ prefixed error handling functions are removed.
  • preload, defer, and accumulate are all merged into a single API called on_error.
  • match is now compatible with std::error_code, e.g. match<std::error_code, 42>.
  • Error handlers that take arguments of exception types will automatically catch exceptions; catch_ is now optional, primarily used to catch more than one exception type.
  • Error handlers can now take mutable reference (and mutable pointer) arguments.
  • augment_id is renamed to error_monitor.
  • All LEAF_XXXX macros are renamed to BOOST_LEAF_XXXX.

0.2.5

4 years ago

This release includes automatic detection for LEAF_NO_EXCEPTIONS and new benchmark program.

0.2.4

4 years ago

This release includes minor optimizations, adds a unit test for the error_id generation logic, and increased Travis CI coverage on Apple platforms.

0.2.3

4 years ago

This release improves the support for -fno-exceptions and adds support for LEAF_NO_THREADS, which disables all multi-thread code.

0.2.2

4 years ago

Optimizations:

  • No guard variables generated by the compiler for static/thread_local objects.
  • Simpler, more optimal result<T> implementation.

0.2.1

4 years ago

Patch release for better documentation, Travis and AppVeyor tweaks.

0.2.0

5 years ago

In this release:

  • Added operator-> support to result<T>;
  • Added a new example to demonstrate using LEAF with outcome::result<T> instead of leaf::result<T>;
  • LEAF_AUTO uses .value() instead of operator* to access the value of a result<T> type;
  • Fixed a bug in the single header generation script, now headers are included only once;
  • Documentation fixes and refinements.