[Bug c++/67268] New: demangler does not elide empty argument pack in operator()
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 19 05:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67268
Bug ID: 67268
Summary: demangler does not elide empty argument pack in
operator()
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at airs dot com
CC: gbenson at redhat dot com
Target Milestone: ---
This mangled name
_ZNKSt1CIM1DKFjvEEclIJEvEEjPKS0_DpOT_
has an operator() with an empty argument pack. The demangler does not elide
it, and produces
unsigned int std::C<unsigned int (D::*)() const>::operator()<, void>(D const*)
const
Note the ", void". It would be better to produce
unsigned int std::C<unsigned int (D::*)() const>::operator()<void>(D const*)
const
More information about the Gcc-bugs
mailing list