-
Notifications
You must be signed in to change notification settings - Fork 88
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
Rarer valueless_by_exception
#25
Comments
+1 Note that std::expected could ensure the non-empty guaranties as the type E must be nothrow as used to report errors. |
It's not clear to me how this ticket would help with the implementation of |
Hrr, maybe you are right and I was thinking on P0110R0. |
Implement section III of P0308 as a non-standard version (outside of
cpp17
namespace).Types such as
variant<int, double>
should not ever get into avalueless_by_exception
state.Something like:
The text was updated successfully, but these errors were encountered: