Re: [Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)

2023-11-15 Thread Thiago Macieira
On Wednesday, 15 November 2023 08:32:40 PST Marc Mutz via Development wrote: > All other std::regular Qt classes will be using the new types (or, if > helper functions are inline and we compile in C++20 mode, the std types > directly). Please remember you must not change the return type of any

Re: [Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)

2023-11-15 Thread Marc Mutz via Development
I feel we're turning in circles here, so let me give a rundown of what I thought we might meet at: - Introduce Qt::{partial,weak,strong}_ordering - BC and SC-as-much-as-possible to std::*_ordering - Qt 7: Qt::foo_ordering becomes a typedef for std::foo_ordering, like QPair in Qt 6 -