-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
C++17 interop: std::optional #120
Comments
Thank you! Would you be willing to propose this as a PR? |
Sure thing. I wasn't sure if that quickly put together operator was good enough, but if it is, I'll go ahead and submit a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my embedded project, I utilize
std::optional
heavily. Unfortunately,better_enum::optional
doesn't have a built in conversion.I can see two options:
better_enum::optional
withstd::optional
std::optional
Here's a member conversion function I threw together quickly:
The text was updated successfully, but these errors were encountered: