Fabio Tesser <fabio.tesser@xxxxxxxxx> writes: > The difference between the two friend functions is that the first has > not any test class as argument while the second has a test class as > argument. > > Is this the right behaviour? Yes, this is correct. This is Argument Dependent Lookup, also known as Koenig lookup. http://en.wikipedia.org/wiki/Argument_dependent_lookup Ian