mirror of
https://github.com/TartanLlama/expected.git
synced 2025-06-24 23:51:32 +02:00
Add link to build2
package (#143)
This is just a link to the `build2` package and also that mention makes it clear it's available there.
This commit is contained in:
committed by
GitHub
parent
f441b29e11
commit
e370ef802d
@ -5,7 +5,7 @@ Single header implementation of `std::expected` with functional-style extensions
|
||||
Clang + GCC: [](https://github.com/TartanLlama/expected/actions/workflows/cmake.yml)
|
||||
MSVC: [](https://ci.appveyor.com/project/TartanLlama/expected)
|
||||
|
||||
Available on [Vcpkg](https://github.com/microsoft/vcpkg/tree/master/ports/tl-expected) and [Conan](https://github.com/yipdw/conan-tl-expected).
|
||||
Available on [Vcpkg](https://github.com/microsoft/vcpkg/tree/master/ports/tl-expected), [Conan](https://github.com/yipdw/conan-tl-expected) and [`build2`](https://cppget.org/tl-expected).
|
||||
|
||||
[`std::expected`](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0323r3.pdf) 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.
|
||||
|
||||
|
Reference in New Issue
Block a user