Skip to content

bazelboost/leaf

This branch is 2 commits ahead of, 137 commits behind boostorg/leaf:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff6239c · Sep 7, 2023
Mar 3, 2023
Sep 7, 2023
Jun 27, 2022
Jun 26, 2022
Oct 16, 2022
Sep 6, 2022
Jan 20, 2022
Apr 5, 2023
Nov 7, 2021
Jul 4, 2020
Apr 5, 2023
Sep 7, 2023
Mar 3, 2023
May 28, 2021
Sep 7, 2023
Sep 7, 2023
May 28, 2021
Dec 9, 2020
Sep 7, 2023
Mar 11, 2022
Sep 7, 2023
Dec 1, 2022
Aug 30, 2020
Apr 5, 2023
Jan 11, 2022
Jan 9, 2022

Repository files navigation

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

About

Lightweight Error Augmentation Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.7%
  • Meson 1.6%
  • Python 1.0%
  • Jsonnet 1.0%
  • Shell 0.2%
  • Batchfile 0.2%
  • Other 0.3%