Skip to content

Commit

Permalink
add new implicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
RexJaeschke authored and BillWagner committed Sep 25, 2023
1 parent 4d503b4 commit 237570c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions standard/conversions.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ An implicit conversion exists from a *default_literal* ([§12.8.20](expressions.
While throw expressions do not have a type, they may be implicitly converted to any type.
### §switch-expression-conversion Switch expression conversion
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`.
## 10.3 Explicit conversions
### 10.3.1 General
Expand Down

0 comments on commit 237570c

Please sign in to comment.