tl-expected

[full]

C++11/14/17 std::expected with functional-style extensions

Single header implementation of std::expected with functional-style extensions.

Documentation Status Clang + GCC: Linux Build Status MSVC: Windows Build Status

Available on Vcpkg and Conan.

std::expected is proposed as the preferred way to represent object which will either have an expected value, or an unexpected value giving information about why something failed. Unfortunately, chaining together many computations which may fail can be verbose, as error-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with expected cleaner.

... More
license CC0-1.0 Universal
project tl
doc-url tl.tartanllama.xyz/en/latest/
2 Versions
version 1.1.0+1
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++ >= 11
reviews +1
version 1.0.0
license CC0 1.0 Universal
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++ >= 11
reviews +1