Hacker News
new
past
comments
ask
show
jobs
points
by
kajika91
11 hours ago
|
comments
by
ameliaquining
10 hours ago
|
[-]
C++23 introduces std::expected, which is a simpler alternative to std::variant designed specifically for the result-or-error use case. You still don't get pattern matching, but Go-style tuples don't give you that either.
reply