[Development] 6.7 FF vs. C++20 comparisons

Marc Mutz marc.mutz at qt.io
Wed Dec 13 15:14:27 CET 2023


On 13.12.23 12:46, Marc Mutz via Development wrote:
> The counter-argument is that this doesn't change much because the C++
> standard knows an operation called

Was interrupted when writing this, then forgot to end the sentence 
before sending :) Sorry...

... 
https://eel.is/c++draft/class.spaceship#def:three-way_comparison,synthesized, 
which can, in certain cases, build a missing op<=> from op< and op==. 
So, in many cases (TODO: which), the set of user-accessible operations 
isn't actually changed, relegating this to a pure doc and impl cleanuo / 
code de-pessimisation.

Thanks,
Marcq

-- 
Marc Mutz <marc.mutz at qt.io>
Principal Software Engineer

The Qt Company
Erich-Thilo-Str. 10 12489
Berlin, Germany
www.qt.io

Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht Charlottenburg,
HRB 144331 B



More information about the Development mailing list