Add `and_then`, `or_else`, `transform`, and `transform_error`.
Closed this issue · 3 comments
BenFrantzDale commented
https://en.cppreference.com/w/cpp/utility/expected in C++23 will have those four member functions. We should have them in this expected
library too.
martinmoene commented
thanks for the heads-up.
martinmoene commented
See proposal p2505: Monadic Functions for std::expected
by Jeff Garland.
martinmoene commented