[cxx-abi-dev] Mangling sizeof

David Vandevoorde daveed at edg.com
Thu Mar 5 18:28:24 UTC 2009


On Mar 5, 2009, at 12:05 PM, Jason Merrill wrote:

> Doug Gregor wrote:
>> Jason and I discussed this a bit further, and this change can lead to
>> collisions in mangled names.


(Cringe.)


> Which can also happen with decltype.
>
> One way of dealing with this issue is to abandon type stubs and go  
> back to figuring out how to mangle all possible expressions.


I suspect that's the most future-proof way forward.


> Another way would be to move the notion of describable type into the  
> core language and say that this sort of collision is ill-formed, no  
> diagnostic required with something along the lines of the current  
> equivalent/functionally equivalent language.


That option occurred to me as well, but I'm worried that would expose  
us to a committee reversal in the future.

	Daveed




More information about the cxx-abi-dev mailing list