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

Will Wray <wjwray at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wjwray at gmail dot com

--- Comment #1 from Will Wray <wjwray at gmail dot com> ---
The same rejects-valid still on gcc-12 trunk on any partial specialization
of a variable template in class scope (and, now, same with std=c++20).
Accepted and works on most other compilers on CE, c++17, so easy to CONFIRM

Further reduced example https://godbolt.org/z/rcne3aEd7:

    struct Struct {
        template <class> static bool v;
        template <class T>  static bool v<T*>;
    };

    <source>:3:37: error: explicit template argument list not allowed
        3 |     template <class T>  static bool v<T*>;
          |                                     ^~~~~

Duplicate bug 100231

Reply via email to