[cxx-abi-dev] Mangling of function reference
Marc Glisse
marc.glisse at inria.fr
Thu May 10 21:17:41 UTC 2012
Hello,
it seems that the mangling used by clang and proposed here (although it
hasn't made it to the document on the web) is the same for:
void (&)() // reference to a function
void ()&
where the second one is what you get from a pointer to a member function
that takes its *this argument by reference, when you remove the "pointer
to member" part of the type. I gave a few more details there:
http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/b3e459b9a4eb5d7e
Am I missing something in the analysis? Is this on purpose because the two
are unlikely to conflict?
(I hope it is the right place to ask, this is my first post here)
--
Marc Glisse
More information about the cxx-abi-dev
mailing list