[cxx-abi-dev] Mangling sizeof

Jason Merrill jason at redhat.com
Thu Mar 5 17:05:20 UTC 2009


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

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.

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.

Jason




More information about the cxx-abi-dev mailing list