TartanLlama / expected

C++11/14/17 std::expected with functional-style extensions

Home Page:https://tl.tartanllama.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

operator== fails to compile if T is void

Crzyrndm opened this issue · comments

commented

See https://godbolt.org/z/ahczYWWEf

The std::expected docs for operator== cover this with the second overload I believe (T is void. No comparison is made against the "value")

Fixed by d901f36