diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 464f598..f76ae8c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12057,8 +12057,15 @@ Statements control the flow of control (except for function calls and exception void use(int n) { switch (n) { // good - case 0: // ... - case 7: // ... + case 0: + // ... + break; + case 7: + // ... + break; + default: + // ... + break; } }