[Cxx-abi-dev] [cxx-abi-dev] Mangling 'this' in trailing-return-type

John McCall rjmccall at apple.com
Tue Sep 20 16:36:26 UTC 2011


On Sep 20, 2011, at 5:35 AM, Mike Herrick wrote:
> We think the implicit and explicit cases should have different manglings even if, from a SFINAE standpoint, they're treated the same, and have a preference for the "mangled as written" implicit mangling.

I agree.  Technically, this means that lookups that find class members and those that don't will be mangled the same, despite the impact on ADL, but the mangled-as-written mantra already causes us to gloss over stuff like that, and I can't think of a situation where it's a problem with valid code.

John.



More information about the cxx-abi-dev mailing list