[Interest] QObject::dumpObjectTree() & const

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Oct 3 14:31:06 CEST 2016

Il 03/10/2016 13:18, Thiago Macieira ha scritto:
> Because they don't need to be. You can call any function from the debugger, 
> regardless of actual constness of the object.
> They were designed to be called from the debugger itself, never by your code.

Come on, that's not a justification for being sloppy in our APIs...

=> https://codereview.qt-project.org/172657


Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161003/163853b3/attachment.bin>

More information about the Interest mailing list