On Wednesday 23 October 2024 05:18:20 Pacific Daylight Time Mathias Hasselmann via Development wrote: > std::format a field of permanent improvement, for instance we've got > compile-time format-string parsing with C++20.
Which has low value for us. For the case of debugging, it's a meh. For translatable strings, since the string itself is runtime, there's little value in doing a compile-time evaluation. It's TBD whether we can parse the template at compile time for some of the formatting options. See my original email for what translators are allowed to change in the template string. If possible, yes, I'd like to confirm that the string you typed in the source has the correct number of replacement requirements as parameters were passed in. Then tooling can verify that the translators have done the correct job and not used more than what was present. -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCAI Platform & System Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development