Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] Request for clarification: floating point literal mangling


  • To: Zack Weinberg <zack@xxxxxxxxxxxxxxxx>
  • Subject: Re: [cxx-abi-dev] Request for clarification: floating point literal mangling
  • From: Kerch Holt <kerch@xxxxxxxxxx>
  • Date: Mon, 09 Jun 2003 17:30:19 -0700

Zack Weinberg wrote:
Dennis Handly <dhandly@xxxxxxxxxx> 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@xxxxxxxxxx
HP Cupertino Tools & Migration Lab
11000 Wolfe Road, MS 4023
Cupertino, CA 95014  Phone: 408-447-0421