[Interest] Strange undeletable QTemporaryFile. Is it a bug?

Guido Seifert wargand at gmx.de
Sat Aug 24 12:18:12 CEST 2013


> There you go: all private members of class Foo have just become public! A hip hip horray for the preprocessor ;)
> 
> Oh, by the way: should you feel the urge to pass on this "tip" to someone else: please don't mention my name, will you? ;)

Why not? I use this very useful trick constantly. In my unit tests when I also want to test private functions. :-)

Guido



More information about the Interest mailing list