[drow-cplus-branch rfa] using directives support

David Carlton carlton@math.stanford.edu
Tue Oct 22 13:48:00 GMT 2002


On Tue, 22 Oct 2002 16:32:22 -0400, Daniel Jacobowitz <drow@mvista.com> 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



More information about the Gdb-patches mailing list