[Development] QNoDebug - available but undocumented

Olivier Goffart olivier at woboq.com
Thu Jul 30 14:36:42 CEST 2015


On Thursday 30. July 2015 13:33:28 Tomasz Siekierda wrote:
> Hi,
> 
> just a quick observation: QNoDebug class can be used in code (compiles,
> works fine), but there is no documentation for it.
> 
> Is that intentional? Shouldn't it be either hidden (made private) or
> documented? Although I have just learned about it's existence by accident,
> it looks like it can be quite useful, so I vote for adding some docs.

It's a fake class that replaces QDebug when QT_NO_DEBUG_OUTPUT is defined.
That way the code compiles but is optimized away.

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org



More information about the Development mailing list