We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9417f commit 81232f7Copy full SHA for 81232f7
text/3305-static-in-pattern.md
@@ -348,7 +348,7 @@ void main()
348
349
C's `switch` statement does not allow referring to C `const`s.
350
351
-C++'s `switch` statement allows arbitrary expressions.
+C++'s `switch` statement allows arbitrary constant expressions, but does not allow referring to C++ `extern const`s (only C++-defined `const`s).
352
353
Scala allows matching on arbitrary expressions via special syntax (backticks).
354
0 commit comments