[Bug c++/25006] failure "using" a name contained in a class

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed Nov 23 19:36:00 GMT 2005



------- Comment #2 from gdr at integrable-solutions dot net  2005-11-23 19:36 -------
Subject: Re:  failure "using" a name contained in a class

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| ICC rejects it as invalid too:
| t.cc(7): error: a class-qualified name is not allowed
|   using ::Foo::Bar::FooBar; // line 7
| 
| So does  Comeau with the same error message.

The construct is ill-formed -- sorry, someone needs to quote
chapter and verse. I'll do that later if no one beats me at it.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list