Re:The Performance Impact of C++'s `final` Keyword
by SAI_Peregrinus on Tuesday April 23, 2024 @12:41PM
(#40133941)
I always set -Werror=implicit-fallthrough, among others. That prevents fallthrough unless explicitly annotated. Sadly these will forever remain optional warnings requiring specific compiler flags, since requiring them could break compiling broken legacy code.
[ Parent
| on HN ]
There are no comments on this comment yet.