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++/26448] unnecessary namespace-alias ambiguity



------- Comment #7 from bangerth at dealii dot org  2006-03-08 17:21 -------
(In reply to comment #6)
> I'm considering filing a defect report (for a standard clarification) to the
> commitee but I would like to make sure I'm not climbing any trees here... In
> your first reply you said "My understanding is that this code is in fact
> invalid...", which part of the C++ standard did you base this on?

I don't have the time to look that up right now, but you should look this
up in the "name lookup" section. It should say that there is an ambiguity
if a matching name is found in two namespaces. Note that a
   namespace a=b;
declaration introduces a new namespace.

W.


-- 


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


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