https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59284
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-02-18
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Not a bug, because "no diagnostic is required".
A diagnostic is only required if the function template is instantiated, and we
do that.
G++ has been getting stricter about diagnosing errors with non-dependent names
and types in uninstantiated templates, so confirming as an enhancement request.