This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2127: namespace problems
- From: jason at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason at gcc dot gnu dot org, nobody at gcc dot gnu dot org, reichelt at igpm dot rwth-aachen dot de
- Date: 1 Feb 2002 12:03:33 -0000
- Subject: Re: c++/2127: namespace problems
- Reply-to: jason at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jason at gcc dot gnu dot org, nobody at gcc dot gnu dot org, reichelt at igpm dot rwth-aachen dot de, gcc-gnats at gcc dot gnu dot org
Synopsis: namespace problems
Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: jason
Responsible-Changed-When: Fri Feb 1 04:03:32 2002
Responsible-Changed-Why:
got it
State-Changed-From-To: analyzed->closed
State-Changed-By: jason
State-Changed-When: Fri Feb 1 04:03:32 2002
State-Changed-Why:
This is not a bug. The candidates considered for the == expression in dummy<S2> are those visible at the point of definition of dummy (only the S1 version) and those in the associated namespace of S2 (also only the S1 version). You must move the S2 version into the namespace.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2127