You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: standard/classes.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5114,8 +5114,7 @@ Finalizers are invoked automatically, and cannot be invoked explicitly. An insta
5114
5114
5115
5115
> *Example*: The output of the example
5116
5116
>
5117
-
> <!-- FIX: This works when I run it at the command-line, but when run under the tester tools, no output is produced. Perhaps the program terminates *before* the thread doing the cleanup runs! That is, the Wait doesn't really wait. -->
@@ -1335,7 +1334,7 @@ Any remaining conditional sections are skipped and no tokens, except those for p
1335
1334
>Exceptfor pre-processing directives, skipped source code is not subject to lexical analysis. For example, the following is valid despite the unterminated comment in the `#else` section:
1336
1335
>
1337
1336
> <!-- FIX: my thinking was to make CheckConsistency an extension method, but I could not get that to work. -->
@@ -792,8 +789,7 @@ If the end point of the statement list of a switch section is reachable, a compi
792
789
>
793
790
>isvalidbecausenoswitchsectionhasareachableendpoint. UnlikeCandC++, executionofaswitch section is not permitted to “fall through” to the next switch section, and the example
@@ -808,8 +804,7 @@ If the end point of the statement list of a switch section is reachable, a compi
808
804
>
809
805
>resultsinacompile-timeerror. Whenexecutionofaswitch section is to be followed by execution of another switch section, an explicit `goto case` or `goto default` statement shall be used:
@@ -857,8 +851,7 @@ Multiple labels are permitted in a *switch_section*.
857
851
<!--markdownlint-enableMD028-->
858
852
>*Note*:The “nofallthrough” rulepreventsacommonclassof bugs that occur in C and C++ when `break` statements are accidentally omitted. For example, the sections of the `switch` statement above can be reversed without affecting the behavior of the statement:
@@ -880,8 +873,7 @@ Multiple labels are permitted in a *switch_section*.
880
873
<!--markdownlint-enableMD028-->
881
874
>*Note*:Thestatementlistofaswitch section typically ends in a `break`, `goto case`, or `goto default` statement, but any construct that renders the end point of the statement list unreachable is permitted. For example, a `while` statement controlled by the Boolean expression `true` is known to never reach its end point. Likewise, a `throw` or `return` statement always transfers control elsewhere and never reaches its end point. Thus, the following example is valid:
0 commit comments