3 ms·
C++17 now has standardized the [[fallthrough]] attribute: https://en.cppreference.com/w/cpp/language/attributes/fallthrough https://en.cppreference.com/w/cpp/l
by a_e_k 3y ago
C++17 now has standardized the [[fallthrough]] attribute:
https://en.cppreference.com/w/cpp/language/attributes/fallthrough https://en.cppreference.com/w/cpp/language/attributes/fallth...
(For backwards compatibility, it still must fallthrough with or without the attribute; the attribute just signals programmer intention and silences the warning.)