[cxx-abi-dev] Request for clarification: floating point literal mangling
Kerch Holt
kerch at cup.hp.com
Tue Jun 10 00:30:19 UTC 2003
Zack Weinberg wrote:
> Dennis Handly <dhandly at cup.hp.com> writes:
>
>
>>>HP?
>>
>>Mark Mitchell
>>
>>We currently don't allow it.
>>How does EDG and g++ allow it, as a floating point literal?
>>Or in some expression?
>
>
> template <int I> class A {};
> template <int I> void f(A<I+int(1.234)>) {}
>
Several compilers (including aCC) take the "int(1.234)"
part and simply converted to "1" in the resulting signature.
--
Kerch Holt kerch at cup.hp.com
HP Cupertino Tools & Migration Lab
11000 Wolfe Road, MS 4023
Cupertino, CA 95014 Phone: 408-447-0421
More information about the cxx-abi-dev
mailing list