mirror of
https://github.com/boostorg/leaf.git
synced 2026-01-19 04:22:08 +00:00
1230a7be130659b0235ced2bde843af9ccda6835
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, configurable 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
#boostchannel) - 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: leaf.hpp.
Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].
Description
Languages
C++
96.9%
Meson
1.5%
Python
1.2%
Shell
0.2%
Batchfile
0.1%