[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
C++ mangles a method by emitting the function name, followed by __
,
followed by encodings of any method qualifiers (such as const
),
followed by the mangling of the method's class,
followed by the mangling of the parameters, in order.
For example Foo::bar(int, long) const
is mangled
as `bar__C3Fooil'.
For a constructor, the method name is left out.
That is Foo::Foo(int, long) const
is mangled
as `__C3Fooil'.
GNU Java does the same.