I’m writing log messages and have to do a lot like:
Logger::writeToLog (String( "This variable: ") + String (x));
That’s ugly, isn’t it?
My question, does there exist something like in python?
Or how the Norwegians do like?
QString (“A string with %1 apples” ).arg (x);
String::formatted() is discouraged and I think there is good reason for that…