BSD Ports

devel/tl-expected 1.1.0_1 DragonFly

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
CC0-1.0
Categories
devel
Package size
15.2 KiB, 105.0 KiB installed

Description

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

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.

In the other systems

SystemPortVersion
DragonFlydevel/tl-expected1.1.0_1
FreeBSDdevel/tl-expected1.3.1
OpenBSDdevel/tl-expected1.3.1
NetBSDdevel/tl-expected1.0.0
MidnightBSDdevel/tl-expected1.1.0_1
HardenedBSDdevel/tl-expected1.3.1
GhostBSDdevel/tl-expected1.3.1

Install

Binary package:

pkg install tl-expected

From DPorts:

cd /usr/dports/devel/tl-expected && make install clean

Dependencies

No port depends on this one.