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 47912d4 commit 0d6dda3Copy full SHA for 0d6dda3
standard/conversions.md
@@ -326,6 +326,10 @@ An implicit conversion exists from a *default_literal* ([§11.7.19](expressions.
326
327
While throw expressions do not have a type, they may be implicitly converted to any type.
328
329
+### §switch-expression-conversion Switch expression conversion
330
+
331
+There is an implicit conversion from a *switch_expression* (§switch-expression-new-clause) to every type `T` for which there exists an implicit conversion from each *switch_expression_arm*'s expression to `T`.
332
333
## 10.3 Explicit conversions
334
335
### 10.3.1 General
0 commit comments