Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and_then, or_else, transform, and transform_error. #56

Closed
BenFrantzDale opened this issue Feb 7, 2023 · 3 comments
Closed

Add and_then, or_else, transform, and transform_error. #56

BenFrantzDale opened this issue Feb 7, 2023 · 3 comments

Comments

@BenFrantzDale
Copy link

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
Copy link
Owner

thanks for the heads-up.

@martinmoene
Copy link
Owner

martinmoene commented Feb 9, 2023

See proposal p2505: Monadic Functions for std::expected by Jeff Garland.

@martinmoene
Copy link
Owner

Implemented by @szaszm in #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants