std::variant::operator<=> is missing a requires clause ensuring that
operator<=> only exists when all of the types in the variant are
three_way_comparable.
Add the missing requires clause and adjust the existing test which was
incorrect.
Differential D136050
[libc++] Fix missing requires clause on variant operator<=> jloser on Oct 16 2022, 7:26 PM. Authored by
Details
std::variant::operator<=> is missing a requires clause ensuring that Add the missing requires clause and adjust the existing test which was
Diff Detail
Unit Tests Event Timeline
Comment Actions thanks! LGTM. i must have been looking at a reference that's missing that requires... |
Please add the requires here too.