ptal/expected
View on GitHub ↗ ★ 111 C++ archived
What did you expect?
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-01-09 · latest 2017-05-11
20082026
-
alternatives: https://github.com/ptal/expected https://github.com/beark/ftl
comment by entelechy · 2017-05-11 · in C++14 either monad and why you shouldn't use exceptions -
There's this: https://github.com/ptal/expected which seems to work pretty well in my tests so far, though I haven't benchmarked it yet. The default implementation uses exceptions as the error type but you can supply your own type (e.g. an…
comment by pixel_fcker · 2017-01-09 · in Measuring execution performance of C++ exceptions vs. error codes -
…is partly why I really want something like the expected monad to be accepted into the C++ standard: https://github.com/ptal/expected
comment by alfalfasprout · 2017-01-09 · in Measuring execution performance of C++ exceptions vs. error codes