A lightweight error handling library for C++11
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].
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/leaf |
doc-url | www.boost.org/doc/libs/1_83_0/libs/leaf |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
4 Versions
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
reviews | +1 |