[Bug c++/22066] :: can access default/anon namespace instead of just global namespace
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 19:37:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list