On Monday, 31 July 2023 02:36:41 PDT Ivan Solovev via Development wrote: >> Basically, what you suggest is that for every pair of comparable Qt >> types we would need to double the amount of work that we do - provide >> not only the helper functions for the macros, but also the overload >> for some public functions for the end-users.
Thiago Macieira (31 July 2023 17:23) replied: > Every pair? Under what conditions do we need to implement > heterogeneous comparisons, outside of the primitives? Even with the > primitives, I don't see more than a handful of heterogeneous, between > integers and floating point, plus a few other dispatchers to avoid > ambiguous lookups for integer to integer. There'd also be our plethora of string types - but still, indeed, only a fairly limited set of cross-type comparisons. Eddy. -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development