[Development] Deprecating QString::{v,}sprintf()

Thiago Macieira thiago.macieira at intel.com
Tue Feb 21 11:02:12 CET 2012


On terça-feira, 21 de fevereiro de 2012 10.56.41, Marc Mutz wrote:
> Bottomline: until we can expect variadic template support for Qt, I think
> we  need to keep it. Many people have over the years tried to eradicate
> printf, but it's syntax is just too compact.

Add a C++11 proper function and let people who don't have C++11 use 
QString::arg.

I'm ok with adding C++11-only options (provided a C++98-built Qt can still 
provide them).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120221/83553088/attachment.sig>


More information about the Development mailing list