File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5267
5267
A type \cv {}~\keyword {void}
5268
5268
is an incomplete type that cannot be completed; such a type has
5269
5269
an empty set of values. It is used as the return
5270
- type for functions that do not return a value. Any expression can be
5271
- explicitly converted to type
5272
- \cv {}~\keyword {void}\iref {expr.type.conv,expr.static.cast,expr.cast }.
5270
+ type for functions that do not return a value.
5273
5271
An expression of type \cv {}~\keyword {void} shall
5274
5272
be used only as
5275
5273
\begin {itemize }
5281
5279
\item the operand of a \keyword {typeid} expression\iref {expr.typeid },
5282
5280
\item the operand of a \keyword {noexcept} operator\iref {expr.unary.noexcept },
5283
5281
\item the operand of a \keyword {decltype} specifier\iref {dcl.type.decltype }, or
5284
- \item the operand of an explicit conversion to type \cv {}~\keyword {void}.
5282
+ \item the operand of an explicit conversion to type
5283
+ \cv {}~\keyword {void}\iref {expr.type.conv,expr.static.cast,expr.cast }.
5285
5284
\end {itemize }
5286
5285
5287
5286
\pnum
You can’t perform that action at this time.
0 commit comments