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 56355635\indextext {type!\idxcode {void}}%
56365636A type \cv {}~\keyword {void}
56375637is an incomplete type that cannot be completed; such a type has
5638- an empty set of values. It is used as the return
5639- type for functions that do not return a value.
5638+ an empty set of values.
56405639\begin {note }
56415640An expression of type \cv {}~\keyword {void} can be used as
56425641\begin {itemize }
5643- \item an expression statement\iref {stmt.expr },
5644- \item the expression in a \keyword {return} statement\iref {stmt.return }
5642+ \item the \grammarterm {expression} of an expression statement\iref {stmt.expr },
5643+ \item the operand of a \keyword {return} statement\iref {stmt.return }
56455644for a function with the return type \cv {}~\keyword {void},
56465645\item an operand of a comma expression\iref {expr.comma },
56475646\item the operand of a parenthesized expression\iref {expr.prim.paren },
You can’t perform that action at this time.
0 commit comments