This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.


Jonathan Lennox <lennox@cs.columbia.edu> writes:

| Gabriel Dos Reis <gdr@integrable-solutions dot net> writes:
| > That also makes other unspoken assumptions.  I'm getting more and of
| > the opinion that C99 hex floating notation (with canonical form) might
| > a better alternative.
| 
| Is it possible to have infinities or NaNs in mangled names? 

How do you spell a *literal* NaN in C or C++?

Remember we're taking about template arguments, which involves only
literals and constant expressions.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]