v3 flag enabled
Error-handling C++03
Added in 1.75.0

Boost.Leaf

A lightweight error-handling library for C++11.

Dependencies

No dependencies

Contributors: This Release


Documentation

Boost LEAF is a lightweight error handling library for C++11.

Official documentation: https://boostorg.github.io/leaf/

Features:

  • Small single-header format, no dependencies.
  • Designed for maximum efficiency ("happy" path and "sad" path).
  • No dynamic memory allocations, even with heavy payloads.
  • O(1) transport of arbitrary error types (independent of call stack depth).
  • Can be used with or without exception handling.
  • Support for multi-thread programming.

Support is available via:

Copyright (c) 2018-2020 Emil Dotchevski and Reverge Studios, Inc.

Distributed under the Boost Software License, Version 1.0.

Latest Boost.Leaf posts

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors