- operator!= isn't in the spec
- <compare> is designed to work with operator<=> so it doesn't really make sense to have operator<=>-less friendly sections.
Depends on D100283.
Differential D100342
[libcxx] removes operator!= and globally guards against no spaceship operator cjdb on Apr 12 2021, 2:05 PM. Authored by
Details
Depends on D100283.
Diff Detail
Event TimelineComment Actions This seems like a step in the right direction. Would you be interested in jumping all the way to the full C++20-mandated hidden-friend implementation in one fell swoop? Or is that already on your roadmap? cppreference says:
In other words, they should be defined inline, as hidden friends. Comment Actions adds // UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0 to the files failing CI (AppleClang <12.0.1 seems to not work) |