From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17497 invoked by alias); 22 Oct 2002 20:48:10 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17487 invoked from network); 22 Oct 2002 20:48:09 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 22 Oct 2002 20:48:09 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g9MKm8x23529; Tue, 22 Oct 2002 13:48:08 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [drow-cplus-branch rfa] using directives support References: <20021022024516.GA24007@nevyn.them.org> <20021022203222.GA6572@nevyn.them.org> From: David Carlton Date: Tue, 22 Oct 2002 13:48:00 -0000 In-Reply-To: <20021022203222.GA6572@nevyn.them.org> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00420.txt.bz2 On Tue, 22 Oct 2002 16:32:22 -0400, Daniel Jacobowitz said: > On Tue, Oct 22, 2002 at 01:18:34PM -0700, David Carlton wrote: >> What's the right way to do this? regex? There doesn't seem to >> be anything appropriate in the C standard library. > Well, there's strstr(). So there is; I don't know how I missed that. (Well, I do: I was looking for a function named something like "substring".) Great. >> There is one benefit to the current framework: if a user wants to >> explicitly refer to anonymous namespaces, then it would be easier >> for the user to just have to write '(anonymous namespace)::foo' >> instead of some more complicated demangled thing. But I don't know >> how likely that is. > But mightn't the user need to refer to more than one of the anonymous > namespaces? Good point. Hmm. David Carlton carlton@math.stanford.edu