BSD Ports

devel/tl-expected 1.3.1 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
CC0-1.0
Categories
devel
Package size
16.0 KiB, 106.9 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
FreeBSDdevel/tl-expected1.3.1
OpenBSDdevel/tl-expected1.3.1
NetBSDdevel/tl-expected1.0.0
DragonFlydevel/tl-expected1.1.0_1
MidnightBSDdevel/tl-expected1.1.0_1

Install

Binary package:

pkg install tl-expected

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tl-expected>0:devel/tl-expected

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.11.3.11.0.01.1.0_11.3.1
FreeBSD:14:quarterly1.3.11.3.1n/a1.1.0_11.3.1
FreeBSD:15:latest1.3.11.3.1n/a1.1.0_11.1.0_1
FreeBSD:15:quarterly1.3.11.3.1n/an/an/a
FreeBSD:16:latest1.3.11.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15

Configuration

Options name: devel_tl-expected

OptionDefaultDescription
TESTSoffBuild tests
USES
cmake
Service scripts
none

Files

distinfo 2
FileSizeSHA256
TartanLlama-expected-v1.3.1_GH0.tar.gz244809a04f4f472fbb5c30bf60402f1ca626c4a76987f867978d0b8a35d7ab3fb8fe7
catchorg-Catch2-v2.13.10_GH0.tar.gz662225d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943

Commit history 0

No commits in the history this site was built from.