https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203
Jon Grant <jg at jguk dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jg at jguk dot org --- Comment #18 from Jon Grant <jg at jguk dot org> --- Hello Perhaps a derived class would do some behaviour, so better not allow inheritance. Certainly just tagging each STL class we know doesn't construct anything would allow identification of them. I wonder how cppcheck does it? Happy to pay a bounty 100 USD to get in a new release.