expected-lite
expected-lite copied to clipboard
operator== fails to compile if T is `void`
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")