This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36151] gcc fails to find template specializations within namespace



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]