-
Notifications
You must be signed in to change notification settings - Fork 7
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
Redesign API using policies #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think a policy class would be great to allow users to customize how the optional determines if the value is existing. This would allow users to customize this behavior while still using the same unified interface. This is similar to how allocators work in the stl. If its set to void, it can use std::optional behind the scenes instead. could do this by default.
The text was updated successfully, but these errors were encountered: