-
Notifications
You must be signed in to change notification settings - Fork 35
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
operator== fails to compile if T is void
#51
Comments
Ah, thanks! Added, note to self: |
From the second link above |
martinmoene
added a commit
that referenced
this issue
Nov 6, 2022
Add tests for operator==() with void 'value' type. |
martinmoene
added a commit
that referenced
this issue
Nov 13, 2022
martinmoene
added a commit
that referenced
this issue
Nov 13, 2022
Just reviewing some old issues I created |
martinmoene
added a commit
that referenced
this issue
Mar 21, 2023
Fixes #50, #51, #54, #55 and nonstd-lite 68, 69 martinmoene/nonstd-lite-project#68 martinmoene/nonstd-lite-project#69
martinmoene
added a commit
that referenced
this issue
Mar 21, 2023
Fixes #50, #51, #54, #55 and nonstd-lite 56, 64, 68, 69 martinmoene/nonstd-lite-project#56 martinmoene/nonstd-lite-project#64 martinmoene/nonstd-lite-project#68 martinmoene/nonstd-lite-project#69
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://godbolt.org/z/MvEoq4h7E
The std::expected docs for operator== cover this with the second overload I believe (T is void. No comparison is made against the "value")
The text was updated successfully, but these errors were encountered: