We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45946d8 commit 4bcc253Copy full SHA for 4bcc253
example.cpp
@@ -38,14 +38,10 @@ int main(int argc, const char* argv[]) {
38
switch (parser.get<unsigned int>("v")) {
39
case 2:
40
std::cout << "an even more verbose string" << std::endl;
41
-#ifdef __GNUC__
42
- [[gnu::fallthrough]];
43
-#endif
+ // fall through
44
case 1:
45
std::cout << "a verbose string" << std::endl;
46
47
48
49
default:
50
std::cout << "some verbosity" << std::endl;
51
}
0 commit comments