------- Comment #3 from pinskia at gcc dot gnu dot org  2008-05-14 10:42 -------
(In reply to comment #2)
> 1.) I've been unable to find an explanation of this behaviour in ISO/IEC 14882
> or other literature like Stroustrup - The C++ Programming Language.

See [temp.dep.res] which is 14.6.4 in C++98.
There is nothing more to say here really, the above referenced section explains
the whole thing.
Basically declarations visible already and in the namespace of the function
arguments are the ones in the overloaded set.

Thanks,
Andrew Pinski


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to