Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7, 6.8.0 FF
-
None
-
5
-
967736b96 (dev), 9a95c4ba4 (6.8), 88e94df35 (6.7), fe5b07d20 (tqtc/lts-6.5), fafa568a6 (tqtc/lts-6.2)
-
Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111
Description
QString fmt = "%1"; assert(fmt.arg(u8' ') == " "); // FAIL: result is "32" (on C++20, on C++17, it's correctly " ")
The QLatin1StringView and QStringView overloads use the multi-arg code path for this, and accept u8' ' (as a character) only in C++17 builds (due to QTBUG-124365).
Attachments
Issue Links
- resulted from
-
QTBUG-124365 Port QString::arg() to QAnyStringView
-
- In Review
-