Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
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), 563ed822f (dev)
-
Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121
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
- Closed