Re: different friend functions behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux