22 Jul
2020
22 Jul
'20
2:59 p.m.
Am 22.07.20 um 16:56 schrieb Peter Dimov via Boost:
Niall Douglas wrote:
For some reason I don't understand, clang in C++ 20 mode seems to loop the result == outcome step i.e. in the constraints that result == outcome is available if and only if outcome == result is available, it considers the availability of the result == outcome overload itself.
Probably caused by C++20 operator rewriting that was introduced as part of the op<=> changes. The gift that keeps giving.
BOOM, yes! Good idea, I guess that's it. Maybe the "#if __cplusplus <= 202000L" I mentioned earlier was meant to say "#if __cplusplus < 202000L" due to this?