leaf v1.75.0.beta1 Release Notes
Release Date: 2020-11-03 // over 4 years ago-
No data yet ๐
You can check the official repo
Previous changes from v0.3.0
-
๐ 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
ortry_catch
. Theremote_
prefixed error handling functions are removed. - ๐
preload
,defer
, andaccumulate
are all merged into a single API calledon_error
. match
is now compatible withstd::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 toerror_monitor
.- All
LEAF_XXXX
macros are renamed toBOOST_LEAF_XXXX
.
- The