This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22066] :: can access default/anon namespace instead of just global 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 Jun 2005 19:37:39 -0000
- Subject: [Bug c++/22066] :: can access default/anon namespace instead of just global namespace
- References: <20050614192245.22066.t8@pobox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-14 19:37 -------
Unnamed namespaces are injected into the same scope as the previous namespace.
See example in 7.3.1.1 where it refers to A::i where i is in an unnamed namespace of the named one
(A).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22066