Skip to content

Commit 0aa43e6

Browse files
jensmaurerzygoloid
authored andcommitted
CWG2351 void{}
1 parent 484d98e commit 0aa43e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@
24422442
expression\iref{expr.cast}.
24432443
\indextext{type!incomplete}%
24442444
Otherwise, if the type is \cv{}~\tcode{void}
2445-
and the initializer is \tcode{()}
2445+
and the initializer is \tcode{()} or \tcode{\{\}}
24462446
(after pack expansion, if any),
24472447
the expression is a prvalue of the specified type
24482448
that performs no initialization.

0 commit comments

Comments
 (0)