https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69818
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Chris Studholme from comment #0) > Hopefully this pattern is not common with typedefs like this, but I have > encountered bugs in generic code where the typedefs are instead template > parameters bound to a pointer or reference type. Can you show such an example? The one with the typedefs isn't very convincing that a new warning is needed.