[Bug c++/100983] Deduction guide for member template class rejected at class scope

gcc at ebasoft dot com.pl gcc-bugzilla@gcc.gnu.org
Tue Feb 22 08:06:24 GMT 2022


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

Artur Bać <gcc at ebasoft dot com.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc at ebasoft dot com.pl

--- Comment #4 from Artur Bać <gcc at ebasoft dot com.pl> ---
trunk at compiler explorer still rejects valid code

https://godbolt.org/z/v4ebhj9Gh, only the message of requirement of namespace
scope is missing from gcc 11.2, invalid use of template-name without an
argument list

https://godbolt.org/z/7Wev6saWz "ctad" must be declared at namespace scope +
invalid use of template-name without an argument list

clang https://godbolt.org/z/vavPTbf36 works as expected


More information about the Gcc-bugs mailing list