General Utility Library for C++14  2.11
Namespaces
expected.h File Reference

Detailed Description

Provides a gul14::expected that implements the main functionality of C++23's std::expected.

Author
Sy Brand, General Utility Library Contributors

This file is based on version 1.1.0 of Sy Brand's expected.h header from https://github.com/TartanLlama/expected

Documentation available at http://tl.tartanllama.xyz/

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

#include <cassert>
#include <exception>
#include <functional>
#include <type_traits>
#include <utility>
#include "gul14/traits.h"
#include "gul14/utility.h"
Include dependency graph for expected.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gul14
 Namespace gul14 contains all functions and classes of the General Utility Library.