https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82219
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-15
Ever confirmed|0 |1
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(I added this warning in r248432)
(In reply to Markus Trippelsdorf from comment #2)
> I don't think this warning makes much sense for templates.
It does in general, e.g. we should still warn for static_cast<const T>(0),
but I agree it might be too noisy for static_cast<T>(0) where is_const<T> is
true.