Skip to content

Commit bbca26c

Browse files
jensmaurerzygoloid
authored andcommitted
[expr.type.conv] Clarify if ... otherwise ladder.
Fixes #1591.
1 parent 64333d2 commit bbca26c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/expressions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,11 +2185,11 @@
21852185

21862186
\pnum
21872187
If the initializer is a parenthesized single expression,
2188-
the type conversion expression is equivalent (in
2189-
definedness, and if defined in meaning) to the corresponding cast
2188+
the type conversion expression is equivalent
2189+
to the corresponding cast
21902190
expression~(\ref{expr.cast}).
21912191
\indextext{type!incomplete}%
2192-
If the type is \cv{}~\tcode{void}
2192+
Otherwise, if the type is \cv{}~\tcode{void}
21932193
and the initializer is \tcode{()},
21942194
the expression is a prvalue of the specified type
21952195
that performs no initialization.

0 commit comments

Comments
 (0)