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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/tl-expected | 1.3.1 |
| OpenBSD | devel/tl-expected | 1.3.1 |
| NetBSD | devel/tl-expected | 1.0.0 |
| DragonFly | devel/tl-expected | 1.1.0_1 |
| MidnightBSD | devel/tl-expected | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.1 | 1.3.1 | 1.0.0 | 1.1.0_1 | 1.3.1 |
| FreeBSD:14:quarterly | 1.3.1 | 1.3.1 | n/a | 1.1.0_1 | 1.3.1 |
| FreeBSD:15:latest | 1.3.1 | 1.3.1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:quarterly | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| TESTS | off | Build tests |
- USES
- cmake
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| TartanLlama-expected-v1.3.1_GH0.tar.gz | 24480 | 9a04f4f472fbb5c30bf60402f1ca626c4a76987f867978d0b8a35d7ab3fb8fe7 |
| catchorg-Catch2-v2.13.10_GH0.tar.gz | 662225 | d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943 |
Commit history 0
No commits in the history this site was built from.