This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/16468] [DR460] using-declaration of namespace name
bangerth at dealii dot org
>
> ------- Additional Comments From bangerth at dealii dot org 2004-07-12
> 18:52 -------
> Possibly nothing, though it seems (from the DR) as if the makers
> of the standard intended the using declaration for names of classes,
> functions, variables, etc. For namespaces why not use the using
> directive
> using namespace namespace-name;
> which seems to be the more obvious choice anyway?
because
(1) it is arbitrary restriction
(2) it has a *very* very different meaning. It modifies
name lookup -- the original poster did NOT intend to dump
everything in the current scope.
I'm amazed at seeing the proposed resolution. I suppose
I have to raise that at the next meeting.
-- Gaby