https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, I would guess that clang's "dumb" warning is fine for 99% of cases, and the handful of exceptions could use #pragma to disable the warning. But until/unless G++ gets such a warning, decorating the library in a few specific places will be an improvement.