mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fixing NL.17 per issue #1002 discussion
This commit is contained in:
parent
9d93e34ea7
commit
82755da679
|
@ -20310,15 +20310,15 @@ In the context of C++, this style is often called "Stroustrup".
|
|||
}
|
||||
|
||||
switch (x) {
|
||||
case 0:
|
||||
// ...
|
||||
break;
|
||||
case amazing:
|
||||
// ...
|
||||
break;
|
||||
default:
|
||||
// ...
|
||||
break;
|
||||
case 0:
|
||||
// ...
|
||||
break;
|
||||
case amazing:
|
||||
// ...
|
||||
break;
|
||||
default:
|
||||
// ...
|
||||
break;
|
||||
}
|
||||
|
||||
if (0 < x)
|
||||
|
|
Loading…
Reference in New Issue
Block a user