Peter Dimov f4034fecde
Merge pull request #73 from grafikrobot/modular
Add support for modular build structure.
2025-05-02 19:13:41 +03:00
2025-02-22 21:21:56 -08:00
2024-09-28 17:38:23 -07:00
2024-09-28 17:38:23 -07:00
2025-02-23 15:32:44 -08:00
2021-11-07 15:13:48 -08:00
2021-05-28 05:15:01 +03:00
2024-09-28 17:38:23 -07:00
2021-05-28 05:15:34 +03:00
2020-08-30 13:36:58 -07:00
2024-09-28 17:38:23 -07:00
2024-09-28 17:38:23 -07:00
2024-09-08 18:26:05 -07:00

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

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].

Languages
C++ 96.8%
Meson 1.5%
Python 1.2%
Shell 0.2%
Batchfile 0.2%