-
Notifications
You must be signed in to change notification settings - Fork 68
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
Interest in contributions for C++23 Monadic functions? #104
Comments
Hi. Thank you for your interest in the library, and for your contribution offer. If I understand correctly, we are talking about adding new names to an already existing functionality, right? It is worth giving it a thought, however note that Boost.Optional does not aim at 100% compatibility with
Not to mention that |
Yup! This would be so
Would you like this as well? |
Nope. This converting constructor has a number of gotchas, and is therefore bug prone. |
Alright, so sounds like a no-go which is cool to me. In the interim, if there's anything you'd like contributions for, just let me know! I'm going to go ahead and close this issue as it seems resolved to me. |
Sure. thanks. For instance, we have this one: #105 |
https://en.cppreference.com/w/cpp/utility/optional
C++23 added some new monadic functions.
I see these already exist under the names
value_or_eval
,map
andflat_map
.The contribution here would be adding the C++23 compatible member function names and then correspondingly updating the existing tests. Is there any interest in getting something like this included? I'd be volunteering here.
The text was updated successfully, but these errors were encountered: