This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36151] gcc fails to find template specializations within namespace
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2008 10:42:11 -0000
- Subject: [Bug c++/36151] gcc fails to find template specializations within namespace
- References: <bug-36151-16154@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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