> 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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to