From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9962 invoked by alias); 12 Jul 2004 21:25:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9954 invoked by alias); 12 Jul 2004 21:24:59 -0000 Date: Mon, 12 Jul 2004 21:25:00 -0000 Message-ID: <20040712212459.9953.qmail@sourceware.org> From: "gdr at acm dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040710210406.16468.boris@kolpackov.net> References: <20040710210406.16468.boris@kolpackov.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/16468] [DR460] using-declaration of namespace name X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg01360.txt.bz2 List-Id: ------- Additional Comments From gdr at acm dot org 2004-07-12 21:24 ------- Subject: Re: [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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16468