[Bug c++/96555] "template argument involves template parameter(s)" with dot or arrow operator in partial specialization

gcc-bugzilla at contacts dot eelis.net gcc-bugzilla@gcc.gnu.org
Wed Nov 25 15:55:24 GMT 2020


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

Eelis <gcc-bugzilla at contacts dot eelis.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-bugzilla at contacts dot eelis
                   |                            |.net

--- Comment #2 from Eelis <gcc-bugzilla at contacts dot eelis.net> ---
The following slightly simpler testcase is also accepted by clang and rejected
by gcc with the same "involves template parameter" error:

  template<typename T, int i>
  struct X;
  template<typename T>
  struct X<T, sizeof(T)> {};


More information about the Gcc-bugs mailing list