https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65545
Bug ID: 65545
Summary: Demangling of char template parameters always produces
integer value
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at cohi dot at
Given a template class declared with a "char" template parameters, for example
template< char ... C > struct one;
and demangling the class name of an instance like
one< 'a' >
with the abi::__cxa_demangle() function then the demangled result is
one<(char)97>
which is much harder to read...
It would be great if this could be fixed to print 'c' whenever isprint() is
true for the value of c.
Thanks!