Details
-
Task
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta2
-
1
-
6d5e39f47 (dev), 6306ebe74 (dev), 6c15f9985 (dev), 0396def8a (6.8), cb35f1e85 (6.8), 6978951d5 (6.8), 362d6b4c3 (dev), 701a957fa (6.8)
-
Foundation Sprint 115
Description
qtbase/7ce6920aacfcba485cd8017e01c6aeb324292e75 added max_size() for
- QList
- QVLA
- QString
- QByteArray
as static methods. But https://eel.is/c++draft/container.reqmts#lib:max_size,containers clearly states c.max_size(), not X::max_size(), so static is wrong (compilers may warn about calling a static function using dot notation).
Acceptance criteria:
- above information is verified and the functions are made normal member functions instead
Attachments
Issue Links
- clones
-
QTBUG-128449 Container::max_size() are missing on non-string container classes
- Closed
For Gerrit Dashboard: QTBUG-128450 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
587042,7 | Containers: add a static constexpr maxSize() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
587043,5 | Fix users of static max_size() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
587044,3 | Make Container::max_size() non-static member functions | dev | qt/qtbase | Status: MERGED | +2 | 0 |
587332,3 | Use more Qtish QByteArray::maxSize in protobuf serializer | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
587437,2 | Containers: add a static constexpr maxSize() | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
587439,2 | Fix users of static max_size() | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
587440,2 | Make Container::max_size() non-static member functions | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
587550,2 | Use more Qtish QByteArray::maxSize in protobuf serializer | 6.8 | qt/qtgrpc | Status: MERGED | +2 | 0 |