[Bug c++/109018] decltype of dependent expressions lookup should be done only when doing template function definition

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 3 23:13:26 GMT 2023


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> template<class T>
> decltype(g(T())) h()
>     return g(T());}
Typo in my example missing {


More information about the Gcc-bugs mailing list