Hacker News new | ask | show | jobs
by WhiteSage 2573 days ago
C++17 includes the [[fallthrough]] attribute built into the language to disable the warning [1].

[1] https://en.cppreference.com/w/cpp/language/attributes/fallth...