A lightweight error handling library for C++11.
https://boostorg.github.io/leaf/
#boost channel)Besides GitHub, there are two other distribution channels:
Copyright (C) 2018-2021 Emil Dotchevski. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].
<h1>LEAF</h1> <blockquote> <p>A lightweight error handling library for C++11.</p> </blockquote> <h2>Documentation</h2> <p>https://boostorg.github.io/leaf/</p> <h2>Features</h2> <ul> <li>Small single-header format, <strong>no dependencies</strong>.</li> <li>Designed for maximum efficiency ("happy" path and "sad" path).</li> <li>No dynamic memory allocations, even with heavy payloads.</li> <li>O(1) transport of arbitrary error types (independent of call stack depth).</li> <li>Can be used with or without exception handling.</li> <li>Support for multi-thread programming.</li> </ul> <h2>Support</h2> <ul> <li><a href="https://Cpplang.slack.com">cpplang on Slack</a> (use the <code>#boost</code> channel)</li> <li><a href="https://lists.boost.org/mailman/listinfo.cgi/boost-users">Boost Users Mailing List</a></li> <li><a href="https://lists.boost.org/mailman/listinfo.cgi/boost">Boost Developers Mailing List</a></li> </ul> <h2>Distribution</h2> <p>Besides GitHub, there are two other distribution channels:</p> <ul> <li>LEAF is included in official <a href="https://www.boost.org/">Boost</a> releases, starting with Boost 1.75.</li> <li>For maximum portability, the library is also available in single-header format: simply download <a href="https://boostorg.github.io/leaf/leaf.hpp">leaf.hpp</a> (direct download link).</li> </ul> <p>Copyright (C) 2018-2021 Emil Dotchevski. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].</p>
<h1>LEAF</h1> <blockquote> <p>A lightweight error handling library for C++11.</p> </blockquote> <h2>Documentation</h2> <p>https://boostorg.github.io/leaf/</p> <h2>Features</h2> <ul> <li>Small single-header format, <strong>no dependencies</strong>.</li> <li>Designed for maximum efficiency ("happy" path and "sad" path).</li> <li>No dynamic memory allocations, even with heavy payloads.</li> <li>O(1) transport of arbitrary error types (independent of call stack depth).</li> <li>Can be used with or without exception handling.</li> <li>Support for multi-thread programming.</li> </ul> <h2>Support</h2> <ul> <li><a href="https://Cpplang.slack.com">cpplang on Slack</a> (use the <code>#boost</code> channel)</li> <li><a href="https://lists.boost.org/mailman/listinfo.cgi/boost-users">Boost Users Mailing List</a></li> <li><a href="https://lists.boost.org/mailman/listinfo.cgi/boost">Boost Developers Mailing List</a></li> </ul> <h2>Distribution</h2> <p>Besides GitHub, there are two other distribution channels:</p> <ul> <li>LEAF is included in official <a href="https://www.boost.org/">Boost</a> releases, starting with Boost 1.75.</li> <li>For maximum portability, the library is also available in single-header format: simply download <a href="https://boostorg.github.io/leaf/leaf.hpp">leaf.hpp</a> (direct download link).</li> </ul> <p>Copyright (C) 2018-2021 Emil Dotchevski. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].</p>