[Development] Work on qDebug and friends - debug areas

Thiago Macieira thiago.macieira at intel.com
Wed Jan 25 16:18:33 CET 2012


On Wednesday, 25 de January de 2012 14.28.04, kai.koehne at nokia.com 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
-------------- 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/20120125/7f2c721a/attachment.sig>


More information about the Development mailing list