------- Additional Comments From Woebbeking at web dot de  2005-01-14 09:56 
-------
Subject: Re:  [4.0 Regression] name lookup is broken with friends

On Thursday 13 January 2005 15:52, lerdsuwa at gcc dot gnu dot org wrote:
>
> > So B's ctor uses the global A without the friend declaration and with the
> > friend declaration the local injected A? Sometimes the holy standard
> > confuses me a bit.
>
> No. With or without friend declaration, the B's ctor should always pick
> the global A.  This is one weird rule in C++ standard.

Now I'm even more confused than before. Who is right, Gaby or lerdsuwa?


André


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19403

Reply via email to