[Bug c++/124687] CTAD is incorrectly allowed with dependent templates

luigighiron at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Mar 29 22:10:18 GMT 2026


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

Halalaluyafail3 <luigighiron at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://github.com/llvm/llv
                   |                            |m-project/issues/189292

--- Comment #1 from Halalaluyafail3 <luigighiron at gmail dot com> ---
Clang accepts the code if the invalid use of template is removed, as well as
GCC, MSVC, and EDG which also accept the code without it.


More information about the Gcc-bugs mailing list