Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
5
-
Foundation PM Prioritized
Description
See epic for more information.
We're asking all maintainers to execute the following programme:
For each pair of types that are comparable:
- add a private compare as a back-end for <=> that can be out-of-line (cf.
QTBUG-100276) - a classification (incl. user docs! (QTBUG-104110)) into exactly one of
- strong
- partial
- weak
- add tests for all relational operators (QTBUG-104108)
- all traditional relational operators (==, !=, <, >, <=, >=) that work in C++20 (incl. synthesized ones) should also work in C++17.
Explore how much of this we can hide behind macros, and define such macros.
Attachments
Issue Links
- depends on
-
QTBUG-104108 As a user of QTestLib, I want to use QCOMPARE_op with C++20's spaceship operator <=>
- Open
-
QTBUG-104110 Support easy, yet precise, documenting of relational operators
- Open
- is required for
-
QTBUG-104111 Modernize comparisons [Core: Date/Time]
- Open