This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15075] "using namespace" fails in part
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2004 20:45:46 -0000
- Subject: [Bug c++/15075] "using namespace" fails in part
- References: <20040422165511.15075.lnewberg@wadsworth.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-04-24 20:45 -------
Subject: Re: "using namespace" fails in part
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| definition has to be in the global namespace -- the using directive only
| gets active once we _look up_ names, not when we declare/define new names.
Your analysis is correct.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15075