Lightweight Error Augmentation Framework
Go to file
Emil Dotchevski ed8f9cd32f Issue 70 2024-01-27 17:48:53 -08:00
.drone Upgrade MacOS drone tests 2023-08-28 10:17:00 -06:00
.github/workflows GHA compat 2023-10-28 16:33:24 -07:00
.vscode fixed a bug in .vscode/tasks.json 2024-01-14 20:14:58 -08:00
benchmark Copyright message update 2023-09-15 11:11:13 -07:00
doc Documentation update 2024-01-20 15:36:53 -08:00
example Renamed try_capture_all example/test files 2024-01-07 11:18:18 -08:00
gen Copyright message update 2023-09-15 11:11:13 -07:00
include/boost Issue 70 2024-01-27 17:48:53 -08:00
meta Typo 2021-11-07 15:13:48 -08:00
subprojects Better meson.build, examples build with exception handling disabled, removed unnecessary meson options 2020-07-04 15:55:09 -07:00
test Issue 70 2024-01-27 17:48:53 -08:00
.drone.jsonnet Disabled GCC 4.9 in Drone unit tests 2023-09-16 12:13:58 -07:00
.gitattributes Add .gitattributes 2021-05-28 05:15:01 +03:00
.gitignore Renamed meson bulid directory from bld to _bld 2023-08-27 16:37:55 -07:00
CMakeLists.txt Regenerate CMakeLists.txt 2021-05-28 05:15:34 +03:00
LICENSE_1_0.txt Fixing bug on MSVC, unbalanced pragma push/pop. Improved leaf.hpp generation. 2020-12-08 23:32:01 -08:00
README.md Copyright message update 2023-09-15 11:11:13 -07:00
conanfile.py [conan] Fix imports and license path 2022-12-01 12:44:42 -08:00
index.html boostorg compatibility changes 2020-08-30 13:36:58 -07:00
meson.build Issue 69 2024-01-08 17:52:41 -08:00
meson_options.txt Removed #pragma system_header 2022-01-11 11:51:37 -08:00
wasm.txt Copyright message update 2023-09-15 11:11:13 -07:00

README.md

LEAF

A lightweight error handling library for C++11.

Documentation

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

Features

  • Portable single-header format, no dependencies.
  • Tiny code size when configured for embedded development.
  • No dynamic memory allocations, even with very large payloads.
  • Deterministic unbiased efficiency on the "happy" path and the "sad" path.
  • Error objects are handled in constant time, independent of call stack depth.
  • Can be used with or without exception handling.

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-2023 Emil Dotchevski and Reverge Studios, Inc. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].