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

Reply via email to