[cxx-abi-dev] Name mangling question

Martin v. Löwis loewis at informatik.hu-berlin.de
Wed Nov 27 15:05:06 UTC 2002


nasgaard at ca.ibm.com 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



More information about the cxx-abi-dev mailing list