OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

tl-expected-1.3.1

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

Back to search · Project homepage

Description

tl-expected is a single header implementation of `std::expected` with functional-style extensions. std::expected is proposed as the preferred way to represent an 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.

Package information

Ports path
devel/tl-expected
Package architecture
amd64
Maintainer
Klemens Nanni <kn@openbsd.org>
Categories
devel
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON