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