Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0
-
None
-
5
-
bd225ef95e948f375d54af517097039d2c59a5fa (qt/qtbase/dev)
-
Qt6_Foundation_Sprint 18, Qt6_Foundation_Sprint 19
Description
Like with QTBUG-85880 in QByteArrayView the == operator in QAnyStringView are globally visible and the constructors are quite greedy. If you use a hidden friend one of the arguments must be of the type of parameter. This is avoiding catching unwanted conversions or any ambiguity.
Attachments
Issue Links
- relates to
-
QTBUG-85880 QByteArrayView comparison operators should be hidden friends
- Closed
For Gerrit Dashboard: QTBUG-86481 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
314601,13 | Make QAnyStringView comparison operators hidden friends | dev | qt/qtbase | Status: MERGED | +2 | 0 |
315584,8 | WIP: Make QAnyStringView comparison operators hidden friends | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |