On Wednesday, 25 de January de 2012 14.28.04, [email protected] wrote:
> I guess the KDebug::registerArea David mentioned does pretty much that. I
> researched a bit whether you somehow can do hashing already on compile
> time, but it seems not to be possible even with Cx11  If you're doing
> something like qHash you most probably don't want to do it in  every single
> qDebug line ...

Olivier managed to hash at compile-time with C++11 using constexpr.

--
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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to