https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115400

            Bug ID: 115400
           Summary: Templates with CTAD parameters are not correctly
                    demangled
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: demangler
          Assignee: unassigned at gcc dot gnu.org
          Reporter: luigighiron at gmail dot com
  Target Milestone: ---

The following name is not correctly demangled:

_Z3getITnSt5arrayXtlS0_IiLm3EEtlA3_iLi1ELi0ELi3EEEEEDam

Also, here is the source code used to generate the name:

#include<array>
template<std::array arr>auto get(std::size_t idx){return arr[idx];}
int main(){return get<{1,0,3}>(1);}

Reply via email to