2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-19 16:32:08 +00:00
2022-03-08 00:10:58 -08:00
2021-04-06 01:00:57 +00:00
2022-01-19 23:32:44 -08:00
2022-02-26 10:37:24 -08:00
2022-01-08 16:00:48 -08:00
2022-01-19 23:32:44 -08:00
2022-02-25 18:52:17 -08:00
2021-11-07 15:13:48 -08:00
2022-02-25 18:52:17 -08:00
2021-04-06 01:00:57 +00:00
2021-05-28 05:15:01 +03:00
2022-01-08 16:00:48 -08:00
2022-01-08 16:00:48 -08:00
2021-05-28 05:15:34 +03:00
2020-08-30 13:36:58 -07:00
2022-02-25 18:52:17 -08:00
2022-01-08 16:00:48 -08:00
2022-01-08 16:00:48 -08:00

LEAF

A lightweight error handling library for C++11.

Documentation

https://boostorg.github.io/leaf/

Features

  • Small single-header format, no dependencies.
  • Designed for maximum efficiency ("happy" path and "sad" path).
  • No dynamic memory allocations, even with heavy payloads.
  • O(1) transport of arbitrary error types (independent of call stack depth).
  • Can be used with or without exception handling.
  • Support for multi-thread programming.

Support

Distribution

Besides GitHub, there are two other distribution channels:

  • LEAF is included in official Boost releases, starting with Boost 1.75.
  • For maximum portability, the library is also available in single-header format: simply download leaf.hpp (direct download link).

Copyright 2018-2022 Emil Dotchevski and Reverge Studios, Inc. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].

Description
Mirrored via gitea-mirror
Readme 19 MiB
Languages
C++ 96.9%
Meson 1.5%
Python 1.2%
Shell 0.2%
Batchfile 0.1%