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) {
|
switch (x) {
|
||||||
case 0:
|
case 0:
|
||||||
// ...
|
// ...
|
||||||
break;
|
break;
|
||||||
case amazing:
|
case amazing:
|
||||||
// ...
|
// ...
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// ...
|
// ...
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0 < x)
|
if (0 < x)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user