Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
None
-
3
-
b4cf9c2e0 (dev), cfc189bf6 (6.5), 976e0ead4 (6.4)
-
Team A Foundation Sprint 53, Team A Foundation Sprint 54, Team A Foundation Sprint 55, Team A Foundation Sprint 56
Description
In scope of QTBUG-98434 _L1 literal operator for QLatin1String has been added to a new Qt::Literals::StringLiterals inline namespace, to avoid conflicts with UDL operators in the global namespace. But now we have inconsistency: other string literal operators (_qs and qba for QString and QByteArray) are in the inline QtLiterals namespace. To avoid inconsistency, add UDL operators _s and _ba for QString and QByteArray to Qt::Literals::StringLiterals, and deprecate the ones from QtLiterals namespace.
Attachments
Issue Links
- relates to
-
QTBUG-26607 Add C++11 Unicode literal support to QString
- Closed