Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jgh
· 8y ago · 0 comments
since optional is a thing now and the standards committee isn't afraid of verbosity maybe we can get std::value_or_error ;)
Comments
[–]
RotsiserMho
8y ago
You might be interested in Boost.Outcome (v2) or the proposed std::expected.
[–]
AstralStorm
8y ago
Like std::future right? You can use that one today.
[–]
blub
8y ago
Nope, a result<T,Err> like expected-lite on github.
[–]
throwaway84742
8y ago
Like Google StatusOr<>?
[–]
jgh
OP
8y ago
Maybe? I'll take a look at it!