expected-lite icon indicating copy to clipboard operation
expected-lite copied to clipboard

operator== fails to compile if T is `void`

Open Crzyrndm opened this issue 1 year ago • 4 comments

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")

Crzyrndm avatar Nov 05 '22 04:11 Crzyrndm