operator== fails to compile if T is `void`
Crzyrndm opened this issue · 4 comments
Crzyrndm commented
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")
martinmoene commented
Ah, thanks!
I have no memory of having noted this special case.
Will see to incorporating it, soon-ish.
Added, note to self:
Crzyrndm commented
From the second link above
martinmoene commented
Add tests for operator==() with void 'value' type.
Crzyrndm commented
Just reviewing some old issues I created
This appears to be resolved in master (the godbolt example now works. Currently no release version created)