Bug 244550 - [NEW PORT] devel/tl-expected: C++11/14/17 std::expected with functional-style extensions
Summary: [NEW PORT] devel/tl-expected: C++11/14/17 std::expected with functional-style...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks: 244651
  Show dependency treegraph
 
Reported: 2020-03-02 03:47 UTC by Henry Hu
Modified: 2020-03-07 14:40 UTC (History)
1 user (show)

See Also:


Attachments
shar for the new port (2.94 KB, text/plain)
2020-03-02 03:47 UTC, Henry Hu
no flags Details
poudriere log for 11.3/amd64 (17.31 KB, text/plain)
2020-03-02 03:48 UTC, Henry Hu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Hu 2020-03-02 03:47:31 UTC
Created attachment 212087 [details]
shar for the new port

This is a new dependency of net-im/telegram-desktop.

It implements tl::expected, which is similar to std::expected, but is easier to use.
Comment 1 Henry Hu 2020-03-02 03:48:05 UTC
Created attachment 212088 [details]
poudriere log for 11.3/amd64
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-03-07 14:40:49 UTC
A commit references this bug:

Author: tcberner
Date: Sat Mar  7 14:40:39 UTC 2020
New revision: 527952
URL: https://svnweb.freebsd.org/changeset/ports/527952

Log:
  New port: devel/tl-expected: C++11/14/17 std::expected with functional-style extensions

  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.

  WWW: https://github.com/TartanLlama/expected

  PR:		244550
  Submitted by:	Henry Hu <henry.hu.sh@gmail.com>

Changes:
  head/devel/Makefile
  head/devel/tl-expected/
  head/devel/tl-expected/Makefile
  head/devel/tl-expected/distinfo
  head/devel/tl-expected/pkg-descr
  head/devel/tl-expected/pkg-plist
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2020-03-07 14:40:54 UTC
Committed. Thanks.