Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
13
-
64819eaa3 (dev), 4f2e95a08 (dev), 5d8f2b7cd (dev), 6a8ecdea9 (dev), 678e9f614 (dev)
-
Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119
Description
The comparison operators in containers are heavily constrained on the contained types + they use conditional noexcept.
This will most probably cause issues with the comparison helper macros, because they are not designed for a proper support of templates and constraints.
The scope of this task is to investigate what needs to be done with the comparison helper macros, and provide the needed improvements.
Attachments
Issue Links
- is required for
-
QTBUG-120305 Modernize comparisons [Core: Containers (ex strings)]
- In Progress
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127095 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
580451,33 | Add QtOrderingPrivate::lexicographicalCompareThreeWay | dev | qt/qtbase | Status: NEW | 0 | +1 |
520300,33 | Long live Q_DECLARE_ORDERED | dev | qt/qtbase | Status: MERGED | +2 | 0 |
576016,16 | Comparison helper macros: support variable number of attributes | dev | qt/qtbase | Status: MERGED | +2 | 0 |
576942,2 | Comparison helper macros: always require static_assert check in C++20 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
592106,6 | Unify the names of private comparison helper macros | dev | qt/qtbase | Status: MERGED | +2 | 0 |
594974,2 | Move CompareThreeWayTester to qcomparehelpers.h | dev | qt/qtbase | Status: MERGED | +2 | 0 |