Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] Name mangling question


  • To: nasgaard@xxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] Name mangling question
  • From: loewis@xxxxxxxxxxxxxxxxxxxxxxx (Martin v. Löwis)
  • Date: 27 Nov 2002 16:05:06 +0100

nasgaard@xxxxxxxxxx writes:

> I agree that the mangling you gave is correct for your example, but that is
> not the example I gave and it is not the mangling g++ gives for my example.
> In my example _Impl is nested inside locale.  The mangling g++ gives is
> _ZN6locale5_Impl3fooERS0_.
> 
> Demangled this is locale::_Impl::foo(locale::_Impl&)

Yes, and this is indeed correct. What else would you have expected?

In the demangled signature, _Impl is nested inside locale, just as you
say it should be.

Regards,
Martin