[cxx-abi-dev] Mangling of sizeof when applied to a type

Chris Lattner sabre at nondot.org
Fri Jun 28 01:46:08 UTC 2002


> The ABI document does not currently specify the mangling of sizeof when
> applied to a type.  For example:
> 
>   template <typename X>
>   void f(S<sizeof(X)>);

Are f<sizeof(int32_t)> and f<4> different instantiations?  If not, why not 
evaluate the size, then mangle?

-Chris

http://www.nondot.org/~sabre/os/
http://www.nondot.org/~sabre/Projects/




More information about the cxx-abi-dev mailing list