mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fixing NL.17 per issue #1002 discussion
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user