https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609
corentinjabot at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |corentinjabot at gmail dot com
--- Comment #25 from corentinjabot at gmail dot com ---
Hey folks.
Congrats on landing support for deducing this in GCC.
While there is no spec for it, after discussion here,
https://github.com/itanium-cxx-abi/cxx-abi/issues/148 explicit objects
parameters are mangled with `H`
This is the form that has been adopted for Clang.
The reason we need mangling is because WG21 made the following well-formed (and
that was reaffirmed. In fact, some complexity was added by P2797)
struct S {
static void f(S);
void f(this S);
};
And we need a way to distinguish both functions
I wasn't sure you were aware of this; I hope that form of mangling will work
for you.
Thanks