mirror of https://github.com/boostorg/leaf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Issue 56 |
1 month ago | |
---|---|---|
.drone | 7 months ago | |
.github/workflows | 1 month ago | |
.vscode | 1 month ago | |
benchmark | 1 year ago | |
doc | 12 months ago | |
example | 1 year ago | |
gen | 2 years ago | |
include/boost | 1 month ago | |
meta | 2 years ago | |
subprojects | 3 years ago | |
test | 1 month ago | |
.drone.jsonnet | 7 months ago | |
.gitattributes | 2 years ago | |
.gitignore | 1 month ago | |
CMakeLists.txt | 2 years ago | |
LICENSE_1_0.txt | 3 years ago | |
README.md | 2 years ago | |
conanfile.py | 10 months ago | |
index.html | 3 years ago | |
meson.build | 1 month ago | |
meson_options.txt | 2 years ago | |
wasm.txt | 2 years ago |
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
- cpplang on Slack (use the
#boost
channel) - Boost Users Mailing List
- Boost Developers Mailing List
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].