./devel/tl-expected, C++11/14/17 std::expected with functional-style extensions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.0, Package name: tl-expected-1.0.0, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2024-08-25 08:19:21 by Thomas Klausner | Files touched by this commit (575)
Log message:
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-05-25 13:44:25 by Nia Alarie | Files touched by this commit (2)
Log message:
tl-expected: Fix build without git
   2020-03-31 12:03:35 by Nia Alarie | Files touched by this commit (5)
Log message:
devel: Add tl-expected

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.