tl-optional-tests/1.1.0+1

[full]

C++11/14/17 std::optional with functional-style extensions and reference support

Single header implementation of std::optional with functional-style extensions and support for references.

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

std::optional is the preferred way to represent an object which may or may not have a value. Unfortunately, chaining together many computations which may or may not produce a value can be verbose, as empty-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with optional cleaner.

For example, instead of writing this code:

... More
version 1.1.0+1
license CC0 1.0 UniversalCreative Commons Zero v1.0 Universal
repository https://pkg.cppget.org/1/stable
download tl-optional-tests-1.1.0+1.tar.gz
sha256 06d1ea743b9d3e48571e4fb550c8dcded2f6ebd5ff135271c69d8da8376f8409
project tl
doc-url tl.tartanllama.xyz/en/latest/
package-url github.com/build2-packaging/build2-tl
package-email wmbat-dev@protonmail.com

Depends (1)

catch2 ^2.13.7

Requires (1)

c++ >= 11

Reviews

fail 0
pass 1