[Bug c++/94057] [9/10 Regression] -std=gnu++20 causes failure naming nested templated class since r9-4536

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 12 17:27:29 GMT 2020


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Not relate to parameter packs.  Also happens with normal member functions:

template <typename T> class A {
  template <typename U> class B {
    B(A<T>::B<U>&);
    void fn(A<T>::B<U> &);
  };
};


More information about the Gcc-bugs mailing list