More mangling issues

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Mar 15 15:09:16 UTC 2000


> > > Same for functions, which leads to the question what _Z3fooPPM2ABFiE is.
> >
> > If I'm not mistaken: Ret? foo(int (AB::***)()).
> 
> Actually, the mangling means that foo is a pointer to a pointer to a
> member function of AB with int result and no parameters, which I think
> is represented as:
> 
>         int (AB::***foo)();
> 
> True?

No; this declaration is an object declaration. There is no need to put
the type of in object into its external name, so that would be _Z3foo.
The type is specified only for a function (or method).

Regards,
Martin




More information about the cxx-abi-dev mailing list