Skip to content

Commit 0711baa

Browse files
eisenwavetkoeppe
authored andcommitted
[basic.fundamental] remove redundant void conversion wording
1 parent aa4a13e commit 0711baa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/basic.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5267,9 +5267,7 @@
52675267
A type \cv{}~\keyword{void}
52685268
is an incomplete type that cannot be completed; such a type has
52695269
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.
52735271
An expression of type \cv{}~\keyword{void} shall
52745272
be used only as
52755273
\begin{itemize}
@@ -5281,7 +5279,8 @@
52815279
\item the operand of a \keyword{typeid} expression\iref{expr.typeid},
52825280
\item the operand of a \keyword{noexcept} operator\iref{expr.unary.noexcept},
52835281
\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}.
52855284
\end{itemize}
52865285

52875286
\pnum

0 commit comments

Comments
 (0)